Add a category
add_categoryUse this to add an expense category to a group, with an emoji and a name.
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": {
"groupToken": "<groupToken>",
"emoji": "<emoji>",
"name": "<name>"
},
"name": "add_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The category's name, such as Food or Rent. | |
| emoji | Yes | An emoji shown beside the category's name. | |
| position | No | Its place in the category list, 1 first; omit to put it last. Only this category's number changes: categories on the same number keep the order they were added in. | |
| groupToken | Yes | The group's token, from `listGroups` or `listSearchResults`. | |
| idempotencyKey | No | A UUID you make up for this call. If the call fails or gets no answer and you try again, send the same UUID so nothing is added twice. Use a new one for each new thing you add. |