Create Custom Category
tripsy_categories_createCreate a custom activity category owned by the authenticated user. The API can generate slug when omitted; if the user already owns the same slug, the API returns an empty 200 OK and does not create a duplicate. Safety: Closed-world: operates within the authenticated user's Tripsy account and accessible trips.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tripsy_categories_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional raw custom category fields. Prefer the typed top-level fields when possible; values here are merged first. | |
| name | No | Custom category display name, such as Golf Clubs. | |
| slug | No | Custom activity category slug. When omitted, the API generates one. If the authenticated user already owns this slug, the API returns an empty 200 OK and does not create a duplicate. | |
| color | No | Hex RGB color without a leading #, such as AABBCC. | |
| icon_name | No | Icon name metadata for this category, such as golf. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Tripsy API response payload or tool-specific structured data. | |
| summary | Yes | Short human-readable summary of the Tripsy operation result. | |
| status_code | No | HTTP status code returned by the Tripsy API when the tool called the API. |