Change a goal
update_goalChange a goal's title, target, description, deadline or impact tiers. Only the fields you pass change, and each replaces the old value; impact replaces the whole list. Renaming changes the goal's web address, and the old address stops working with no redirect. Changing the target does not re-check whether the goal is complete.
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": "update_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| title | No | ||
| impact | No | What each amount pays for, shown on the goal. Premium. | |
| deadline | No | As YYYY-MM-DD. Null clears it. A goal does not stop at its deadline. | |
| description | No | ||
| targetAmount | No | In whole rupees. |
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 |