Rename a category
update_categoryRename a category: set its display name and URL slug (send both). Another category with the same name or slug returns 409 conflict. Bookmarks stay in the category. Needs owner auth.
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": "<name>",
"slug": "<slug>"
},
"name": "update_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The category's numeric id. | |
| name | Yes | New display name, 1 to 100 characters. | |
| slug | Yes | New URL slug, 1 to 50 characters of `a-z`, `0-9` and `-`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Database id. | |
| name | Yes | Display name, unique. | |
| slug | Yes | URL slug, unique, `[a-z0-9-]+`. | |
| seeded | Yes | True for the categories the install starts with. | |
| createdAt | Yes | ISO 8601 creation time, stored as text. |