Complete agent task
complete_agent_taskReport the outcome of a plan step obtained from get_agent_tasks or get_pending_work.
Marks the step done (or failed), adds progress_delta to the goal's
progress (capped at 1.0), marks the plan completed or failed once all its
steps are finished, and stores the result as an episode in memory. It
then re-evaluates the goal. If its success criterion is met the goal is
marked achieved, and the evaluation may recalculate progress; the
response reports the stored progress and any recalculation. Fails if the
step is not waiting for an agent.
Args:
step_id: The step UUID from get_agent_tasks or get_pending_work.
result: What was done and what the outcome was.
success: True if the step succeeded, False if it failed.
progress_delta: How much this advances the goal, 0.0-1.0
(e.g. 0.05 = 5%). 0 leaves goal progress unchanged before
re-evaluation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| step_id | Yes | ||
| success | No | ||
| progress_delta | No |