Cancel a Foundry question
helix_foundry_cancel_questionStop a queued or running Foundry question, so it spends no more of the workspace's question budget. A question that ended is returned as it is.
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": {
"ontology_id": "<ontology_id>",
"question_id": "<question_id>"
},
"name": "helix_foundry_cancel_question"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ontology_id | Yes | Foundry ontology identifier. | |
| question_id | Yes | The question's id, as helix_foundry_ask returned it. | |
| workspace_id | No | Helix workspace identifier. May be empty when the caller has only one workspace (a service key always does). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| done | Yes | ||
| error | No | ||
| result | No | Untrusted answer: the ontology agent's AskResult, set once answered or cannot_answer. An integer past 2^53 comes as a string of its digits, which JSON numbers would round. Its queries come without their outputs: to see the rows one of the answer's visuals shows, read its query (queries[].query) again with helix_foundry_read_graph, as a query read on the question's load_id. | |
| status | Yes | ||
| load_id | Yes | ||
| attempts | Yes | ||
| question | Yes | ||
| valid_at | No | ||
| thread_id | Yes | ||
| created_at | Yes | ||
| usd_micros | Yes | ||
| finished_at | No | ||
| content_trust | No |