AI Cancel
ai_cancelCancel a pending AI generation before it starts at the provider to return unused credits.
Instructions
Cancel an AI generation that hasn't started at the provider yet; its credits come back.
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": {
"id": "<id>"
},
"name": "ai_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |