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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"goal": "<goal>"
},
"name": "set_goal"
}
}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. |