set goal
set_goalSave the user's career goal, the target on their plan page: the role they're aiming for, the month (YYYY-MM), the hours a week they can give it, and the yearly base pay they're aiming for if they said one. Give the whole goal: to change one part, read career_plan first and keep the rest as it is, pay included. Use it when the user states or changes their goal. Only what the user said: never fill the role, month, hours or pay yourself. It asks the user first and replaces the goal they had; their route of steps follows from it. Once it's saved, undo can put it back within 24 hours.
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": {
"role": "<role>",
"by": "<by>",
"hoursPerWeek": "<hoursPerWeek>"
},
"name": "set_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | The month they're aiming for, YYYY-MM, from next month on | |
| now | No | Their role now, if they said it or the plan has it | |
| pay | No | The yearly base pay in US dollars they said they're aiming for, only a number they said. Leave empty when they skipped it or didn't say; never take it from a posted range | |
| role | Yes | The role they're aiming for, in their words (Head of Product) | |
| hoursPerWeek | Yes | The hours a week they said they can give it, 1 to 20 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The answer, or what was done, in plain words for the user: the same text as content | |
| undo | No | On a saved write: its undo handle, for undo within 24 hours | |
| widget | No | The card the host draws with it, e.g. "pipeline"; "confirm" means a write waits for the user's Yes and nothing is saved yet |