Approve / reject a task
approval_decideDecide the outcome of a proposed task by approving, rejecting, or providing an edited action. Manage task approvals directly within your workflow.
Instructions
Decide a PROPOSED task's action: APPROVE (execute), REJECT, or EDIT (provide editedAction).
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": {
"taskId": "<taskId>",
"decision": "<decision>"
},
"name": "approval_decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | the task id | |
| decision | Yes | ||
| editedAction | No |