Set goal
set_goalInitialize a goal loop that tracks progress toward a completion condition, requiring check_goal calls each turn until satisfied.
Instructions
Start a run-until-done goal loop. Records the completion condition; the agent should then work toward it and call check_goal at the end of every turn until the goal is met.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | The completion condition, stated verbatim (max 4000 characters). | |
| session_id | No | Optional session identifier. Generated when omitted; reuse it on every check_goal call. | |
| max_turns | No | Hard turn budget before the loop stops and reports partial progress. |