Ask about a spreadsheet
query_spreadsheetAnswer a question or compute a result over one of the user's Xenition spreadsheets — sums, trends, lookups, or 'what does this data say'. Returns the answer and, when relevant, a suggested formula.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"artifactId": "<artifactId>",
"question": "<question>"
},
"name": "query_spreadsheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | a question to compute/answer over the sheet (e.g. 'total revenue in Q3', 'which region grew fastest') | |
| artifactId | Yes | the spreadsheet artifact to query |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| title | Yes | ||
| formula | No | ||
| heading | Yes | ||
| openUrl | No | ||
| question | No | ||
| artifactId | Yes |