brainkb_qa_run
Run a canned question from brainkb_qa_list by id. params maps parameter
names to values; they are validated and escaped, never spliced in raw. Runs
through the same SPARQL endpoint as brainkb_sparql, so it needs the same
role. Results page the same way: a query without its own LIMIT returns
limit rows from offset, and page.next_offset says where to continue.
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": {
"query_id": "<query_id>"
},
"name": "brainkb_qa_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| params | No | ||
| query_id | Yes |