ask
Answer a question from the data, with the evidence used. Give either a statement that selects the rows to reason over, or a collection to search by keyword; the rows go to the tenant's own model endpoint and the answer names how many rows and bytes were sent. Inside the deployment, with an assistant configured, the orchestrator retrieves and cites instead, and prepare:true returns what would be sent without sending it.
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": {
"question": "<question>"
},
"name": "ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | How many rows to send; default 8 | |
| sql | No | A statement selecting the rows to reason over | |
| params | No | ||
| prepare | No | With the orchestrator: return the submission that would be sent, without sending it | |
| property | No | The text property searched in the collection; default 'content' | |
| question | Yes | ||
| collection | No | A collection to search by keyword for the question's terms, when no sql is given |