ask_database
Pose a plain-language question about your SQLite database; the agent writes and runs the SQL, then returns the answer and the SQL used. Use thread_id for follow-up questions.
Instructions
Ask the database a question in plain language. The agent writes and runs the SQL itself. Reuse thread_id for follow-up questions. Returns the answer and the SQL used.
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_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | ||
| thread_id | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |