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

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

set_event_capacity

Обновлено

Set the seats of an event (event_id): capacity is the seats in all, sold ones included. The seats on sale are the smaller of capacity and target_registrations, and the capacity in the answer is that limit; a null capacity leaves target_registrations as the limit, and with neither set the event has no limit. The same write as capacity in update_event. A limit at or below the seats already sold closes the sale (free 0): no sold seat is cancelled. Refused with EVENT_SEATS_BELOW_HELD when buyers hold more seats in checkout than the new limit leaves free, and as invalid input when capacity exceeds the event target_registrations.

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

required_scopes: ALL.

ПолеЗначение
description"Set the seats of an event (event_id): capacity is the seats in all, sold ones included. The seats on sale are the smaller of capacity and target_registrations, and the capacity in the answer is that limit; a null capacity leaves target_registrations as the limit, and with neither set the event has no limit. The same write as capacity in update_event. A limit at or below the seats already sold closes the sale (free 0): no sold seat is cancelled. Refused with EVENT_SEATS_BELOW_HELD when buyers hold more seats in checkout than the new limit leaves free, and as invalid input when capacity exceeds the event target_registrations."
domain"events"
name"set_event_capacity"
platform_version"1.0.34"
required_scopes["events:write"]
risk"destructive"
scope"events:write"
title"Set Event Capacity"

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

set_event_capacity: inputSchema

Результат

set_event_capacity: outputSchema