agent_cancel
Cancel an active coding session on a specified provider using its native ID, terminating the agent's current work immediately.
Instructions
Cancel work in a provider native session.
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": {
"provider": "<provider>",
"nativeId": "<nativeId>"
},
"name": "agent_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nativeId | Yes | ||
| provider | Yes |