Choose which goal the page shows
set_active_goalMake one goal the one shown on the page, or turn the current one off. The page shows a single goal at a time, so choosing one puts the others away without deleting anything. Reversible.
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": {
"id": "<id>"
},
"name": "set_active_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| active | No | False turns this goal off and shows none. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| slug | Yes | ||
| title | Yes | ||
| active | Yes | The one currently shown on the page. | |
| impact | Yes | What each amount pays for. Premium. | |
| percent | Yes | ||
| updates | Yes | ||
| deadline | Yes | ||
| filledAt | Yes | When it reached its target. | |
| description | Yes | ||
| raisedAmount | Yes | ||
| targetAmount | Yes | ||
| supportsCount | Yes | ||
| raisedFormatted | Yes | ||
| targetFormatted | Yes |