set_goal
Create or update a goal. Create: title (+description, brain_id, agent_id, priority 1-5, target_date, parent_id). Update: pass goal_id + fields (status: active|achieved|paused|dropped). Returns { goal_id }.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Title of the goal | |
| status | No | New status | |
| goal_id | No | ID of the goal | |
| user_id | No | ID of the user | |
| agent_id | No | ID of the agent | |
| brain_id | No | ID of the brain | |
| priority | No | Priority | |
| parent_id | No | ID of the parent | |
| description | No | Description of the goal | |
| target_date | No | Target date of the goal (ISO date) |