Set an app's server secrets
set_envSets or removes environment variables of an app (read in handlers as ctx.env.NAME). They take effect at once, without a deploy. Values are write-only: no tool returns them, only the names.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app": "<app>"
},
"name": "set_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use. | |
| set | No | Variables to set, as {"NAME": "value"}. | |
| unset | No | Names to remove. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | ||
| keys | Yes | ||
| slug | Yes | ||
| unset | No |