Submit goal plan
submit_goal_planStore a plan of steps for a goal. The steps become pending plan steps returned by get_agent_tasks and get_pending_work.
Submitting replaces the goal's current plan: its still-waiting steps are
marked 'superseded' (kept for history) and no longer returned. Resubmit
the full plan to correct it. There is no step limit by default. If any
step is invalid, nothing is stored and the error lists the invalid steps.
Args:
goal_id: UUID of the goal to plan.
steps: List of step objects, each with:
- instruction (str): specific action to carry out.
- context (dict, optional): relevant context for the step.
- expected_effect (str): what concretely changes when done.
- estimated_progress (float 0-1): how much it advances the goal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| goal_id | Yes |