agp_task
Manage durable async tasks by listing, inspecting, waiting on, updating with mid-flight input, or canceling running tasks. Filter by state or context and supply clarification or human input.
Instructions
Manage durable async tasks (io.modelcontextprotocol/tasks & A2A v1.0 Tasks): list tasks, get task state/history/result, wait for state transition, supply mid-flight clarification/HITL input (update), or cancel a running task.
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": {
"action": "<action>"
},
"name": "agp_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Mid-flight clarification or HITL input for action='update'. | |
| limit | No | ||
| state | No | Optional state filter for list (e.g. WORKING, COMPLETED, INPUT_REQUIRED). | |
| action | Yes | ||
| reason | No | Cancellation reason for action='cancel'. | |
| task_id | No | Task ID (required for get, wait, update, cancel). | |
| actor_uri | No | ||
| context_id | No | Optional contextId filter for list. | |
| wait_timeout_sec | No | Seconds (0-120) for action='wait'. |