cancel_infer
Stops a running inference at the next stage and returns immediately with a cancelling status; check status to confirm when the run ends.
Instructions
Stop the inference that is running. Takes effect at the next stage.
Call it when the user asks to stop a run `infer` started. It returns
immediately with `cancelling`, because a run cannot be interrupted
mid-stage; call `status` to see it end. With no run going it changes
nothing and returns status with an `error` saying so.
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_infer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |