approve_task
Approve a pending human-in-the-loop task to let the agent workflow proceed. Use after reviewing task details.
Instructions
Approve a pending HITL task, allowing the agent workflow to continue.
This is a real decision — the agent will proceed with the proposed action. Review the task details first with get_approval_details.
Args: task_id: The approval task UUID comments: Optional reason for approval
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": "approve_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| comments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |