Cancel tool execution
cancel_tool_executionRequest cancellation of an in-progress VideoGen tool execution by providing its execution ID (vg_tool_...). Use it to stop running tasks and manage long operations.
Instructions
Request cancellation of an in-progress tool execution.
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": {
"toolExecutionId": "<toolExecutionId>"
},
"name": "cancel_tool_execution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolExecutionId | Yes | Tool execution id (vg_tool_...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error details when status is failed; otherwise null. | |
| status | No | Job status: pending, running, succeeded, failed, or cancelled. | |
| results | No | Generated results with download URLs when succeeded. | |
| toolType | No | Tool name (e.g. GENERATE_IMAGE). | |
| attemptIndex | No | Current or latest attempt index. | |
| toolExecutionId | Yes | Tool execution id (vg_tool_...). | |
| progressPercentage | No | Completion progress 0-100 (present after polling). |