Manage Task Plan
task_planCreate and manage task execution plans by reading plans, adding steps, updating step status, and reordering pending steps for AI agent workflows.
Instructions
Create, read, add steps, update step status, or reorder pending steps in a task execution plan.
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>",
"operation": "<operation>"
},
"name": "task_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Steps for operation="set" or "add_steps" | |
| task_id | Yes | Task ID | |
| operation | Yes | Plan operation to perform | |
| stepNumber | No | Step number for operation="update_step" | |
| stepStatus | No | New step status for operation="update_step" | |
| orderedStepNumbers | No | Reordered pending step numbers for operation="reorder_pending" |