create_service
Create a bookable service. Sets duration, price, capacity, and policies. Use list_service_categories first if you want to attach to an existing category.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Service name | |
| type | No | Default one_on_one | |
| price | No | Decimal string, e.g. "80.00". Defaults to "0". | |
| status | No | Default active | |
| capacity | No | How many participants per slot (default 1) | |
| currency | No | ISO currency code, default HKD | |
| sortOrder | No | Sort order (lower = earlier) | |
| categoryId | No | Existing service category ID | |
| visibility | No | Visibility: public | members_only | hidden | |
| description | No | Description | |
| requireLogin | No | Default true — guests cannot book | |
| requiresStaff | No | Whether the service requires staff assignment | |
| allowedTierIds | No | Required when visibility=members_only | |
| commissionType | No | Commission type: "fixed" or "percentage" | |
| commissionValue | No | Commission amount as decimal string | |
| cooldownMinutes | No | Minimum gap before bookings can be cancelled (default 0) | |
| durationMinutes | Yes | Duration of one booking in minutes | |
| requiresResource | No | Whether the service requires a resource (room/equipment) | |
| commissionCurrency | No | Commission currency (ISO code) | |
| requiresConfirmation | No | If true, bookings start as pending and need confirm_booking |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |