complete_task
Mark a task as completed, failed, or cancelled with a summary and optional deliverables, appending to the Agent Log, linking files/URLs, and unblocking dependent tasks.
Instructions
Mark a task as completed (or failed/cancelled) with a summary and optional deliverables. Records completed_at timestamp, appends to Agent Log, links deliverable files/URLs, and automatically unblocks dependent tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Terminal status. Usually 'completed', but use 'failed' or 'cancelled' if the task couldn't be done. | completed |
| summary | Yes | Summary of what was accomplished. Appended to the Agent Log. | |
| task_id | Yes | The task ID to complete (e.g. 'task-2026-03-09-abc123'). | |
| deliverables | No | Paths to files created/modified, or URLs to PRs, docs, etc. Added to a Deliverables section. | |
| error_reason | No | If status is 'failed', explain what went wrong. Helps future agents retry. |