Update category
figa_update_categoryUpdate a local category's name, description, color or parent in this workspace. Omitted fields stay unchanged; parentId=null makes it a root, otherwise use a local root ID in the same workspace. Only two levels are supported and categories with children cannot become children. Existing expenses keep their category assignment. Shared organization categories are read-only. This write requires explicit user intent. A UUID requestId identifies one intended operation; identical retries retain the same ID and payload. A missing response or IDEMPOTENCY_OUTCOME_UNKNOWN, IDEMPOTENT_REQUEST_IN_PROGRESS or INTERNAL_SERVER_ERROR leaves the outcome uncertain, not a confirmed failure. A new ID can duplicate an uncertain write. Corrected inputs after a definite validation or business refusal constitute a new operation. The transport response cache lasts 24 hours; longer replay guarantees are stated above.
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": {
"workspaceId": "<workspaceId>",
"requestId": "<requestId>",
"categoryId": "<categoryId>",
"category": "<category>"
},
"name": "figa_update_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | Fields to change: name, description (null clears it), color or parentId (null makes it a root). | |
| requestId | Yes | Caller-generated UUID identifying this one intended write. A retry of the same write reuses the ID and payload; the same ID with different input returns IDEMPOTENCY_KEY_MISMATCH. | |
| categoryId | Yes | ID of a local category in this workspace. | |
| workspaceId | Yes | ID of a workspace selected for this connection. Other workspaces are rejected. |