agent_ex_status
Query task status: list all running tasks, inspect one by task ID, or include finished tasks to recover previously dispatched tasks after a restart or context reset.
Instructions
查询任务状态。无参数调用返回全部进行中的任务,用于一次性概览; needs_input 任务会返回 question 字段。 include_finished=true 时连已结束的任务(completed/failed/cancelled)一起列,按创建时间倒序—— 会话重启或上下文压缩后要认回「上次派的任务」时用它(默认列表里只有进行中的任务)。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "agent_ex_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 配合 include_finished:返回最近 N 个(默认 20) | |
| task_id | No | 任务 id;缺省返回全部进行中的任务 | |
| include_finished | No | 是否包含已结束的任务;缺省只返回进行中的任务 |