request_approval
Submit a task execution plan for human review and await approval. Receive the approved or edited plan back to execute with confidence.
Instructions
Submit a task execution plan for human review in the AgentTakt editor.
Blocks until the human approves or rejects the plan in the TUI. Returns {"status": "approved" | "rejected", "plan": , "reason": <str | null>}. The returned plan may differ from the submitted one (the human can edit nodes, edges and parameters) — always execute the returned plan.
Args: plan: Plan JSON with graph_id, nodes[] and edges[] (must be a DAG). summary: One-line description shown in the editor header.
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": {
"plan": "<plan>"
},
"name": "request_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| summary | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||