complete_task
Mark a task as completed and attach structured evidence such as commits, PRs, CI checks, or deploy SHAs to prove the work was done, required when the task's evidence policy demands it.
Instructions
Mark a task as completed. Attach evidence — structured proof the work happened (commit, PR, CI check, deploy SHA, artifact/URL, command output). Evidence is always welcome and is REQUIRED on tasks whose evidence_policy is 'required' (there, at least one strong kind — commit/pr/ci_check/deploy_sha/artifact_url — must be present; command_output alone is rejected). Evidence is a durable, falsifiable claim recorded on the task; it is not executed or verified by Delega.
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": "complete_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task ID to complete | |
| evidence | No | Structured completion evidence; required when the task's evidence_policy is 'required' | |
| claim_generation | No | Current owned claim generation; required for registered human requests | |
| expected_revision | No | Current task revision; required for registered human requests |