Create a category
create_categoryCreate a category with a display name (1 to 100 characters) and a URL slug (1 to 50 characters of a-z, 0-9 and -). Both must be unused: a clash returns 409 conflict. 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": {
"name": "<name>",
"slug": "<slug>"
},
"name": "create_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name, 1 to 100 UTF-16 code units. | |
| slug | Yes | URL slug, 1 to 50 characters of `[a-z0-9-]`. |
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. |