complete_task
Finalize an in-progress AgentMesh task by submitting its output result and releasing the claiming agent, preventing duplicate or stalled parallel work.
Instructions
Mark an in_progress task as completed with output results.
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>",
"agent_id": "<agent_id>"
},
"name": "complete_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Output payload or summary result. | |
| task_id | Yes | ID of the task to complete. | |
| agent_id | Yes | Agent ID that held the claim. |