Для AI-агентов: markdown этой страницы — /docs/mcp-booking.mdиндекс документации — /llms.txt
MCP: booking
Обновлено
MCP: booking
Это определения инструментов из текущего ToolRegistry, включая полные inputSchema/outputSchema, scope, required_scopes (ALL), risk и версию платформы. Наличие определения не означает, что инструмент уже установлен вашим хостом или разрешён вашим credential. Обновляйте tools/list после изменения бизнеса, readiness и прав. Progressive disclosure через load_domain/describe_tool и существующий meta-dispatch описаны в MCP-руководстве. Scopes и права применяются при вызове; risk не заменяет согласие и отдельные требования денежной операции. JSON ниже — схема, а не успешный результат вызова.
booking_cancel
Cancel a booking by its seqNum, optionally recording why. cancelled is TERMINAL — a client who comes back makes a NEW booking, so this is not undoable. Errors CONFLICT when the booking is already in a terminal state (completed / cancelled / no-show); it never reports success for a move it did not make.
{
"description": "Cancel a booking by its `seqNum`, optionally recording why. `cancelled` is TERMINAL — a client who comes back makes a NEW booking, so this is not undoable. Errors CONFLICT when the booking is already in a terminal state (completed / cancelled / no-show); it never reports success for a move it did not make.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"booking_seq_num": {
"description": "Value for booking seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"bot": {
"description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"reason": {
"anyOf": [
{
"description": "Value for reason option.",
"maxLength": 500,
"type": "string"
},
{
"description": "Value for reason option.",
"type": "null"
}
],
"description": "Value for reason."
}
},
"required": [
"booking_seq_num"
],
"type": "object"
},
"name": "booking_cancel",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:write"
],
"risk": "destructive",
"scope": "booking:write",
"title": "Booking Cancel"
}booking_create
Place a booking for one end user. resource_seq_num may be null — that is «any free master», and the operator assigns one later. start_at may be null when the operator will pick the time. For a RANGE («домик с 5 по 15», «сауна с 14:00 до 18:00») pass end_at and let the platform count the units — it counts daily nights by the tenant calendar, which hand arithmetic gets wrong twice a year. quantity is the slot/day multiplier (default 1) and is ignored when end_at is given. The booking is created as pending: confirming it requires a separate prepared scenario and final human confirmation. Refused with a reason when the gate says no (slot taken, too soon, beyond the booking window, per-user limit reached).
{
"description": "Place a booking for one end user. `resource_seq_num` may be null — that is «any free master», and the operator assigns one later. `start_at` may be null when the operator will pick the time. For a RANGE («домик с 5 по 15», «сауна с 14:00 до 18:00») pass `end_at` and let the platform count the units — it counts `daily` nights by the tenant calendar, which hand arithmetic gets wrong twice a year. `quantity` is the slot/day multiplier (default 1) and is ignored when `end_at` is given. The booking is created as `pending`: confirming it requires a separate prepared scenario and final human confirmation. Refused with a reason when the gate says no (slot taken, too soon, beyond the booking window, per-user limit reached).",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bot": {
"description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"catalog_item_seq_num": {
"description": "Value for catalog item seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"end_at": {
"description": "Value for end at.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
"type": "string"
},
"quantity": {
"description": "Value for quantity.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"resource_seq_num": {
"anyOf": [
{
"description": "Value for resource seq num option.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
{
"description": "Value for resource seq num option.",
"type": "null"
}
],
"description": "Value for resource seq num."
},
"selection_mode": {
"description": "Value for selection mode.",
"enum": [
"full",
"time_only",
"resource_only",
"open_inquiry"
],
"type": "string"
},
"start_at": {
"anyOf": [
{
"description": "Value for start at option.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
"type": "string"
},
{
"description": "Value for start at option.",
"type": "null"
}
],
"description": "Value for start at."
},
"user_seq_num": {
"description": "Value for user seq num.",
"exclusiveMinimum": 0,
"maximum": 2147483647,
"type": "integer"
}
},
"required": [
"catalog_item_seq_num",
"resource_seq_num",
"user_seq_num",
"start_at"
],
"type": "object"
},
"name": "booking_create",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:write"
],
"risk": "write",
"scope": "booking:write",
"title": "Booking Create"
}booking_create_resource
Create a booking resource. The idempotency_key is mandatory.
{
"description": "Create a booking resource. The idempotency_key is mandatory.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bot": {
"description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"description": {
"anyOf": [
{
"description": "Value for description option.",
"maxLength": 10000,
"type": "string"
},
{
"description": "Value for description option.",
"type": "null"
}
],
"description": "Value for description."
},
"idempotency_key": {
"description": "Value for idempotency key.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"is_active": {
"description": "Value for is active.",
"type": "boolean"
},
"is_public": {
"description": "Value for is public.",
"type": "boolean"
},
"max_active_user_bookings": {
"description": "Value for max active user bookings.",
"exclusiveMinimum": 0,
"maximum": 1000,
"type": "integer"
},
"max_advance_days": {
"anyOf": [
{
"description": "Value for max advance days option.",
"exclusiveMinimum": 0,
"maximum": 3650,
"type": "integer"
},
{
"description": "Value for max advance days option.",
"type": "null"
}
],
"description": "Value for max advance days."
},
"min_lead_time_minutes": {
"description": "Value for min lead time minutes.",
"maximum": 525600,
"minimum": 0,
"type": "integer"
},
"name": {
"description": "Value for name.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"slot_interval_minutes": {
"description": "Value for slot interval minutes.",
"exclusiveMinimum": 0,
"maximum": 1440,
"type": "integer"
}
},
"required": [
"name",
"idempotency_key"
],
"type": "object"
},
"name": "booking_create_resource",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:write"
],
"risk": "write",
"scope": "booking:write",
"title": "Booking Create Resource"
}booking_create_resource_schedule
Create a monthly resource schedule. The idempotency_key is mandatory.
{
"description": "Create a monthly resource schedule. The idempotency_key is mandatory.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bot": {
"description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"break_end_minute_of_day": {
"anyOf": [
{
"description": "Value for break end minute of day option.",
"maximum": 1439,
"minimum": 0,
"type": "integer"
},
{
"description": "Value for break end minute of day option.",
"type": "null"
}
],
"description": "Value for break end minute of day."
},
"break_start_minute_of_day": {
"anyOf": [
{
"description": "Value for break start minute of day option.",
"maximum": 1439,
"minimum": 0,
"type": "integer"
},
{
"description": "Value for break start minute of day option.",
"type": "null"
}
],
"description": "Value for break start minute of day."
},
"days": {
"description": "Value for days.",
"items": {
"description": "Value for days item.",
"maximum": 31,
"minimum": 1,
"type": "integer"
},
"maxItems": 31,
"minItems": 1,
"type": "array"
},
"end_minute_of_day": {
"anyOf": [
{
"description": "Value for end minute of day option.",
"maximum": 1439,
"minimum": 0,
"type": "integer"
},
{
"description": "Value for end minute of day option.",
"type": "null"
}
],
"description": "Value for end minute of day."
},
"idempotency_key": {
"description": "Value for idempotency key.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"is_unavailable": {
"description": "Value for is unavailable.",
"type": "boolean"
},
"month": {
"description": "Value for month.",
"maximum": 12,
"minimum": 1,
"type": "integer"
},
"resource_seq_num": {
"description": "Value for resource seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"start_minute_of_day": {
"anyOf": [
{
"description": "Value for start minute of day option.",
"maximum": 1439,
"minimum": 0,
"type": "integer"
},
{
"description": "Value for start minute of day option.",
"type": "null"
}
],
"description": "Value for start minute of day."
},
"year": {
"description": "Value for year.",
"maximum": 2200,
"minimum": 2000,
"type": "integer"
}
},
"required": [
"resource_seq_num",
"year",
"month",
"days",
"idempotency_key"
],
"type": "object"
},
"name": "booking_create_resource_schedule",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:write"
],
"risk": "write",
"scope": "booking:write",
"title": "Booking Create Resource Schedule"
}booking_delete_resource_schedule
Delete a resource schedule with its current etag. The idempotency_key is mandatory.
{
"description": "Delete a resource schedule with its current etag. The idempotency_key is mandatory.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bot": {
"description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"etag": {
"description": "Value for etag.",
"minLength": 1,
"type": "string"
},
"idempotency_key": {
"description": "Value for idempotency key.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"schedule_seq_num": {
"description": "Value for schedule seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"schedule_seq_num",
"etag",
"idempotency_key"
],
"type": "object"
},
"name": "booking_delete_resource_schedule",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:write"
],
"risk": "destructive",
"scope": "booking:write",
"title": "Booking Delete Resource Schedule"
}booking_execute_attendance
Record the visit fact identified by a matching prepared scenario. Call this tool only after final human confirmation of the prepared scenario.
{
"description": "Record the visit fact identified by a matching prepared scenario. Call this tool only after final human confirmation of the prepared scenario.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bot": {
"description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"payload_hash": {
"description": "Value for payload hash.",
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"preparation_id": {
"description": "Value for preparation id.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
}
},
"required": [
"preparation_id",
"payload_hash"
],
"type": "object"
},
"name": "booking_execute_attendance",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:write"
],
"risk": "write",
"scope": "booking:write",
"title": "Booking Execute Attendance"
}booking_execute_confirm
Confirm the booking identified by a matching prepared scenario. Call this tool only after final human confirmation of the prepared scenario.
{
"description": "Confirm the booking identified by a matching prepared scenario. Call this tool only after final human confirmation of the prepared scenario.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bot": {
"description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"payload_hash": {
"description": "Value for payload hash.",
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"preparation_id": {
"description": "Value for preparation id.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
}
},
"required": [
"preparation_id",
"payload_hash"
],
"type": "object"
},
"name": "booking_execute_confirm",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:write"
],
"risk": "write",
"scope": "booking:write",
"title": "Booking Execute Confirm"
}booking_get_resource
Get one booking resource by tenant-local sequence number.
{
"description": "Get one booking resource by tenant-local sequence number.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"resource_seq_num": {
"description": "Value for resource seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"resource_seq_num"
],
"type": "object"
},
"name": "booking_get_resource",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:read"
],
"risk": "read",
"scope": "booking:read",
"title": "Booking Get Resource"
}booking_get_resource_schedule
Get a resource schedule by tenant-local sequence number.
{
"description": "Get a resource schedule by tenant-local sequence number.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"schedule_seq_num": {
"description": "Value for schedule seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"schedule_seq_num"
],
"type": "object"
},
"name": "booking_get_resource_schedule",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:read"
],
"risk": "read",
"scope": "booking:read",
"title": "Booking Get Resource Schedule"
}booking_get_user_list
List one end user's bookings for this tenant, newest first — status, the service and resource, the time span, the multiplier, and didAttend (null = the operator has not marked the visit yet, which is a THIRD value and not a «no»). user_seq_num is the tenant-local User sequence. 0-cost read.
{
"description": "List one end user's bookings for this tenant, newest first — status, the service and resource, the time span, the multiplier, and `didAttend` (null = the operator has not marked the visit yet, which is a THIRD value and not a «no»). `user_seq_num` is the tenant-local User sequence. 0-cost read.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"user_seq_num": {
"description": "Value for user seq num.",
"exclusiveMinimum": 0,
"maximum": 2147483647,
"type": "integer"
}
},
"required": [
"user_seq_num"
],
"type": "object"
},
"name": "booking_get_user_list",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:read"
],
"risk": "read",
"scope": "booking:read",
"title": "Booking Get User List"
}booking_list_pending
List pending bookings across every user of the current tenant. Returns tenant-local booking, service and resource handles with a bounded cursor.
{
"description": "List pending bookings across every user of the current tenant. Returns tenant-local booking, service and resource handles with a bounded cursor.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"cursor": {
"description": "Value for cursor.",
"pattern": "^[1-9]\\d*$",
"type": "string"
},
"limit": {
"default": 50,
"description": "Value for limit.",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"limit"
],
"type": "object"
},
"name": "booking_list_pending",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:read"
],
"risk": "read",
"scope": "booking:read",
"title": "Booking List Pending"
}booking_list_resource_schedules
List monthly resource schedules with a bounded cursor.
{
"description": "List monthly resource schedules with a bounded cursor.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"cursor": {
"description": "Value for cursor.",
"pattern": "^\\d+$",
"type": "string"
},
"limit": {
"default": 50,
"description": "Value for limit.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"resource_seq_num": {
"description": "Value for resource seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"limit"
],
"type": "object"
},
"name": "booking_list_resource_schedules",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:read"
],
"risk": "read",
"scope": "booking:read",
"title": "Booking List Resource Schedules"
}booking_list_resources
List the tenant's bookable resources (masters / rooms / equipment) with their seqNum (the id you pass to search and create), the services each one currently offers, the slot grid step, and the two reach flags: isActive = switched on at all, isPublic = offered in the shared selector (an active non-public resource is bookable ONLY by its own link). Call this first — booking_search_availability needs a service that some resource actually offers. 0-cost read.
{
"description": "List the tenant's bookable resources (masters / rooms / equipment) with their `seqNum` (the id you pass to search and create), the services each one currently offers, the slot grid step, and the two reach flags: `isActive` = switched on at all, `isPublic` = offered in the shared selector (an active non-public resource is bookable ONLY by its own link). Call this first — `booking_search_availability` needs a service that some resource actually offers. 0-cost read.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "booking_list_resources",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:read"
],
"risk": "read",
"scope": "booking:read",
"title": "Booking List Resources"
}booking_prepare_attendance
Prepare the attended or no-show fact for a booking. Show the immutable prepared scenario to the human before calling booking_execute_attendance. This records the visit without sending a client notification.
{
"description": "Prepare the attended or no-show fact for a booking. Show the immutable prepared scenario to the human before calling booking_execute_attendance. This records the visit without sending a client notification.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"booking_seq_num": {
"description": "Value for booking seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"bot": {
"description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"did_attend": {
"description": "Value for did attend.",
"type": "boolean"
}
},
"required": [
"booking_seq_num",
"did_attend"
],
"type": "object"
},
"name": "booking_prepare_attendance",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:write"
],
"risk": "write",
"scope": "booking:write",
"title": "Booking Prepare Attendance"
}booking_prepare_confirm
Prepare confirmation of a pending booking. Show the immutable prepared scenario to the human before calling booking_execute_confirm.
{
"description": "Prepare confirmation of a pending booking. Show the immutable prepared scenario to the human before calling booking_execute_confirm.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"booking_seq_num": {
"description": "Value for booking seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"bot": {
"description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
"maxLength": 128,
"minLength": 1,
"type": "string"
}
},
"required": [
"booking_seq_num"
],
"type": "object"
},
"name": "booking_prepare_confirm",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:write"
],
"risk": "write",
"scope": "booking:write",
"title": "Booking Prepare Confirm"
}booking_search_availability
Find free booking slots for a service over a date range. catalog_item_seq_num is the service (a Catalog row with is_bookable); omit resource_seq_num (or pass null) to search EVERY master/room that offers it. Dates are YYYY-MM-DD in the tenant timezone, both inclusive. Each slot carries its start/end, the resource that would take it, and bookable — a slot beyond the booking window comes back visible but NOT bookable. The grid is computed under the same gate booking_create enforces, so a bookable: true slot is one this agent can actually take. 0-cost read.
{
"description": "Find free booking slots for a service over a date range. `catalog_item_seq_num` is the service (a Catalog row with `is_bookable`); omit `resource_seq_num` (or pass null) to search EVERY master/room that offers it. Dates are `YYYY-MM-DD` in the tenant timezone, both inclusive. Each slot carries its start/end, the resource that would take it, and `bookable` — a slot beyond the booking window comes back visible but NOT bookable. The grid is computed under the same gate `booking_create` enforces, so a `bookable: true` slot is one this agent can actually take. 0-cost read.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"catalog_item_seq_num": {
"description": "Value for catalog item seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"end_date": {
"description": "Value for end date.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"resource_seq_num": {
"anyOf": [
{
"description": "Value for resource seq num option.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
{
"description": "Value for resource seq num option.",
"type": "null"
}
],
"description": "Value for resource seq num."
},
"start_date": {
"description": "Value for start date.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
"required": [
"catalog_item_seq_num",
"start_date",
"end_date"
],
"type": "object"
},
"name": "booking_search_availability",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:read"
],
"risk": "read",
"scope": "booking:read",
"title": "Booking Search Availability"
}booking_update_resource
Update a booking resource with its current etag. The idempotency_key is mandatory.
{
"description": "Update a booking resource with its current etag. The idempotency_key is mandatory.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bot": {
"description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"description": {
"anyOf": [
{
"description": "Value for description option.",
"maxLength": 10000,
"type": "string"
},
{
"description": "Value for description option.",
"type": "null"
}
],
"description": "Value for description."
},
"etag": {
"description": "Value for etag.",
"minLength": 1,
"type": "string"
},
"idempotency_key": {
"description": "Value for idempotency key.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"is_active": {
"description": "Value for is active.",
"type": "boolean"
},
"is_public": {
"description": "Value for is public.",
"type": "boolean"
},
"max_active_user_bookings": {
"description": "Value for max active user bookings.",
"exclusiveMinimum": 0,
"maximum": 1000,
"type": "integer"
},
"max_advance_days": {
"anyOf": [
{
"description": "Value for max advance days option.",
"exclusiveMinimum": 0,
"maximum": 3650,
"type": "integer"
},
{
"description": "Value for max advance days option.",
"type": "null"
}
],
"description": "Value for max advance days."
},
"min_lead_time_minutes": {
"description": "Value for min lead time minutes.",
"maximum": 525600,
"minimum": 0,
"type": "integer"
},
"name": {
"description": "Value for name.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"resource_seq_num": {
"description": "Value for resource seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"slot_interval_minutes": {
"description": "Value for slot interval minutes.",
"exclusiveMinimum": 0,
"maximum": 1440,
"type": "integer"
}
},
"required": [
"resource_seq_num",
"etag",
"idempotency_key"
],
"type": "object"
},
"name": "booking_update_resource",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:write"
],
"risk": "write",
"scope": "booking:write",
"title": "Booking Update Resource"
}booking_update_resource_schedule
Update a resource schedule with its current etag. The idempotency_key is mandatory.
{
"description": "Update a resource schedule with its current etag. The idempotency_key is mandatory.",
"domain": "booking",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bot": {
"description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"break_end_minute_of_day": {
"anyOf": [
{
"description": "Value for break end minute of day option.",
"maximum": 1439,
"minimum": 0,
"type": "integer"
},
{
"description": "Value for break end minute of day option.",
"type": "null"
}
],
"description": "Value for break end minute of day."
},
"break_start_minute_of_day": {
"anyOf": [
{
"description": "Value for break start minute of day option.",
"maximum": 1439,
"minimum": 0,
"type": "integer"
},
{
"description": "Value for break start minute of day option.",
"type": "null"
}
],
"description": "Value for break start minute of day."
},
"days": {
"description": "Value for days.",
"items": {
"description": "Value for days item.",
"maximum": 31,
"minimum": 1,
"type": "integer"
},
"maxItems": 31,
"minItems": 1,
"type": "array"
},
"end_minute_of_day": {
"anyOf": [
{
"description": "Value for end minute of day option.",
"maximum": 1439,
"minimum": 0,
"type": "integer"
},
{
"description": "Value for end minute of day option.",
"type": "null"
}
],
"description": "Value for end minute of day."
},
"etag": {
"description": "Value for etag.",
"minLength": 1,
"type": "string"
},
"idempotency_key": {
"description": "Value for idempotency key.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"is_unavailable": {
"description": "Value for is unavailable.",
"type": "boolean"
},
"month": {
"description": "Value for month.",
"maximum": 12,
"minimum": 1,
"type": "integer"
},
"resource_seq_num": {
"description": "Value for resource seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"schedule_seq_num": {
"description": "Value for schedule seq num.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"start_minute_of_day": {
"anyOf": [
{
"description": "Value for start minute of day option.",
"maximum": 1439,
"minimum": 0,
"type": "integer"
},
{
"description": "Value for start minute of day option.",
"type": "null"
}
],
"description": "Value for start minute of day."
},
"year": {
"description": "Value for year.",
"maximum": 2200,
"minimum": 2000,
"type": "integer"
}
},
"required": [
"schedule_seq_num",
"etag",
"idempotency_key"
],
"type": "object"
},
"name": "booking_update_resource_schedule",
"outputSchema": null,
"platform_version": "1.0.19",
"required_scopes": [
"booking:write"
],
"risk": "write",
"scope": "booking:write",
"title": "Booking Update Resource Schedule"
}