task_complete
Complete a human task by submitting an action.
This resumes the workflow execution that is waiting for this task, so an approval can trigger real postings or payments: confirm the action with the user first. The action string describes what action was taken (e.g., "approved", "rejected", "reviewed").
Parameters:
taskId: The ID of the task to complete
outputs: Object with at least an "action" field. Other fields correspond to the task form fields (e.g., { "action": "approved", "comments": "Looks good" }).
The task must be open (status not_started, triaging, agent_working or ready_for_review).
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>",
"outputs": "<outputs>"
},
"name": "task_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | The task ID to complete | |
| outputs | Yes | Outputs to submit. Must include "action" field. Other fields correspond to the task form fields (e.g., { "action": "approved", "comments": "Looks good" }). |