cancel_generation
Cancels a generation task by requestId, then checks until a final state is reached; tasks already in a terminal state remain unchanged.
Instructions
按 requestId 取消任务;取消后查询至终态,终态任务保持不变
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": {
"requestId": "<requestId>"
},
"name": "cancel_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes |