Skip to main content
The chat tool is the primary interface for interacting with WisdomAI’s powerful data analysis capabilities. It accepts natural language questions and returns structured responses including text explanations, data tables, and interactive visualizations.

Tool signature

Parameters

string
required
The query to ask to WisdomAI
string
required
The unique identifier of the domain you wish to query.
boolean
default:"false"
Whether to enable streaming responses via MCP notifications. When enabled, partial results are sent progressively via notifications.
Streaming support is currently in beta and the implementation may change in future versions.
string
UUID for conversation continuity. Provide an existing conversation ID to continue a chat thread, or leave empty to start a new conversation. Providing an invalid conversation ID is equivalent to leaving it empty.

Response format

The chat tool returns structured content in the following format:

Content types

object
Plain text responses and explanations
object
Tabular data with column headers and structured rows
object
Interactive visualizations with Highcharts configuration
highchartsOptions also contain the actual data and can be sent as it is to the highcharts library/server to generate a visualization.
Image URL is valid for 1 hour from the time of generation.

Streaming support (Beta)

When streaming is enabled, the server sends progressive updates via MCP notifications as content is generated.

Notification format

Streaming updates are sent using the chat/update notification method:

Update frequency

The server throttles streaming updates to a maximum frequency of once per second.

Notification parameters

string
required
The conversation ID associated with the query
number
required
Sequential number indicating the order of this update (starts at 1)
boolean
required
Whether this is still a partial update (true) or the final result (false)
Array<ContentItem>
required
The current state of the response content, including all previous and new content items

Usage example

Request

MCP Tool Call

Response

Response

Next steps

List Domains Tool

Discover available domains before querying

Echo Tool

Simple tool for testing connectivity before using chat