update_spending_category
Change the spending category tag on a single Starling feed item without altering its amount; set confirmed to true only after the user approves the exact category change.
Instructions
WRITE. Changes the spending category tag on one feed item. Does not change the amount. Requires confirmed: true after the user agrees to the category.
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": {
"feedItemUid": "<feedItemUid>",
"spendingCategory": "<spendingCategory>",
"confirmed": "<confirmed>"
},
"name": "update_spending_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | Yes | Must be true. Set this only after the user has explicitly agreed to this exact change. | |
| accountUid | No | Account UID from list_accounts. Omit when the token can see only one account. | |
| categoryUid | No | Category UID. Omit to use the account's main feed (defaultCategoryUid). A savings goal UID is also a category UID. | |
| feedItemUid | Yes | Transaction feed item UID. | |
| spendingCategory | Yes | Starling category code, for example GROCERIES or EATING_OUT. |