complete_task
Finish an accepted task with success or failure status, result, and optional commit SHA or PR URL, then auto-notify the delegator.
Instructions
Finish an accepted task: success or failure, with the result and optional commit sha / PR url. Auto-notifies the delegator.
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>",
"agentId": "<agentId>"
},
"name": "complete_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prUrl | No | ||
| result | No | ||
| taskId | Yes | ||
| agentId | Yes | ||
| success | No | ||
| commitSha | No | ||
| filesChanged | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |