Переменные окружения проекта
env_varsProject environment variables: list names, set them, remove them.
VALUES ARE NEVER READ BACK — not by you, not by the platform in its
response. Only names and lengths are returned. This is a deliberate rule
rather than an implementation limit: anything that reaches your answer
settles into the conversation history, and a secret that lands there
cannot be taken back. If the user asks "what is my key", say plainly
that you cannot show it and offer to set a new one.
`set` does not require knowing the other variables — the platform keeps
them. `unset` removes only the named ones.
A change needs a new deploy: variables are picked up at build time, not
on the fly. Say so, or the user will think nothing happened.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Для `action="unset"`: имена переменных, которые убрать. | |
| action | No | `list` — показать имена (значения не возвращаются никогда), `set` — задать переменные из `values`, `unset` — удалить переменные, перечисленные в `keys`. | list |
| values | No | Для `action="set"`: пары имя → значение. Остальные переменные проекта сохранятся — присылать их заново не нужно. | |
| project | Yes | Проект: слаг (`my-site`) или id. Слаг — то, что видно в адресе сайта; если пользователь назвал сайт словами, возьми слаг из `my_projects`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed | No | ||
| project | Yes | ||
| variables | Yes | ||
| next_action | Yes |