# set\_event\_phase

Source: <https://telegafirst.com/docs/mcp-tool-set-event-phase>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: eae280ee83583f69fbb6073e2875fb7023d27082c277ae88c461689308e10333
Version: 15

# set\_event\_phase

Move an event to \`registration\` (publishes a draft: switches it on and lists it in the Афиша; or reopens closed registration) or to \`registration\_closed\` (stops accepting registrations; the event stays listed). Opening registration needs \`start\_at\` set and still ahead — set it with update\_event first. The event starts by itself at its start time; finish it with complete\_event. Asking for the phase the event is already in changes nothing. Returns the event. Errors: FAILED\_PRECONDITION with the reason when the move is not allowed from the current phase or the start time is missing or past; NOT\_FOUND for an unknown id.

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

required\_scopes: ALL.

| Поле | Значение |
| - | - |
| description | "Move an event to \`registration\` (publishes a draft: switches it on and lists it in the Афиша; or reopens closed registration) or to \`registration\_closed\` (stops accepting registrations; the event stays listed). Opening registration needs \`start\_at\` set and still ahead — set it with update\_event first. The event starts by itself at its start time; finish it with complete\_event. Asking for the phase the event is already in changes nothing. Returns the event. Errors: FAILED\_PRECONDITION with the reason when the move is not allowed from the current phase or the start time is missing or past; NOT\_FOUND for an unknown id." |
| domain | "events" |
| name | "set\_event\_phase" |
| platform\_version | "1.0.34" |
| required\_scopes | \["events:write"] |
| risk | "write" |
| scope | "events:write" |
| title | "Set Event Phase" |

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

[set\_event\_phase: inputSchema](https://telegafirst.com/docs/schema-6b060eda2ff98950227304e0eaaf1e56d46dbf4abe5cd4fc5b680dbee1d8e5cc)

## Результат

[set\_event\_phase: outputSchema](https://telegafirst.com/docs/schema-c387b3343172f0f73386c0c59546af30ed275e689842c30f876b7af3c00ef24d)
