Cancel a research run
cancel_researchStop a queued or running research run or batch when work was started by mistake or should no longer continue; cancelled runs are not charged.
Instructions
Stop a queued or running research run (or batch). A cancelled run is not charged. Use when the user asks to stop, or a run was started by mistake.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cancel_research"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | The run to cancel. | |
| batch_id | No | Or the batch to cancel. |