查询或取消渲染任务
sanhang_taskCheck the status of a submitted Manim render task, block until it finishes, or request cancellation. Use it with sanhang_render wait=false to poll results by task_id and avoid client timeouts.
Instructions
查询一个已提交渲染任务的状态;也可以阻塞等待它完成,或请求取消。配合 sanhang_render 的 wait=false 使用:先提交拿到 task_id,再在这里等结果,避免客户端超时。
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": {
"task_id": "<task_id>"
},
"name": "sanhang_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | status 查询一次;wait 轮询到完成;cancel 请求取消。默认 status。 | status |
| task_id | Yes | sanhang_render 返回的任务 ID(UUID)。 | |
| max_wait_seconds | No | action=wait 时的等待上限秒数,默认 240,范围 10~900。 |