К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-tool-booking-create-service.mdиндекс документации — /llms.txt

booking_create_service

Обновлено

Create a booking SERVICE — the catalog item a client books (a haircut, a sauna hour, a night in a cabin). `mode` is `hourly` (`duration_value` in hours: 0.5, 1, 1.5) or `daily` (`duration_value` in days). `resource_ids` are the masters / rooms that offer it, by their numbers (seq_num — `id` of `booking_list_resources`; at least one). `prices` uses the catalog price list shape; omit it for a free service. Returns the new `catalog_item_id` for `booking_search_availability` and `booking_create`. `length` sets how the buyer picks the length: `length_mode` `fixed` (one block), `list` (`length_units`: allowed block counts) or `range` (`min_units`, `max_units`, hourly `window_start_minute`/`window_end_minute`), and `price_tiers` the price ladder (`{id, units, prices}` ascending by units; absent = linear by the block price); omitted = `range`, linear. To change the booking settings of an existing item use `update_catalog_item`. The idempotency_key is mandatory. A retry with the same key and the same fields returns the first answer and repeats nothing.

Права и условия

required_scopes: ALL.

ПолеЗначение
description"Create a booking SERVICE — the catalog item a client books (a haircut, a sauna hour, a night in a cabin). `mode` is `hourly` (`duration_value` in hours: 0.5, 1, 1.5) or `daily` (`duration_value` in days). `resource_ids` are the masters / rooms that offer it, by their numbers (seq_num — `id` of `booking_list_resources`; at least one). `prices` uses the catalog price list shape; omit it for a free service. Returns the new `catalog_item_id` for `booking_search_availability` and `booking_create`. `length` sets how the buyer picks the length: `length_mode` `fixed` (one block), `list` (`length_units`: allowed block counts) or `range` (`min_units`, `max_units`, hourly `window_start_minute`/`window_end_minute`), and `price_tiers` the price ladder (`{id, units, prices}` ascending by units; absent = linear by the block price); omitted = `range`, linear. To change the booking settings of an existing item use `update_catalog_item`. The idempotency_key is mandatory. A retry with the same key and the same fields returns the first answer and repeats nothing."
domain"booking"
name"booking_create_service"
platform_version"1.0.34"
required_scopes["booking:write"]
risk"write"
scope"booking:write"
title"Booking Create Service"

Входные параметры

booking_create_service: inputSchema

Результат

booking_create_service: outputSchema