task_complete
Marks a running task as completed with its result, transitioning it to completed state. Optionally records the completing agent for mid-task handoffs.
Instructions
Mark a running task completed with result. Transitions running→completed. Optional agent_name records who completed (useful if handoff mid-task: A claims, B completes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| task_id | Yes | ||
| agent_name | No |