VibeKit Set Env Vars
vibekit_set_envSet or update environment variables for an app (merges with existing). The app must be restarted or redeployed for changes to take effect.
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": {
"appId": "<appId>",
"vars": "<vars>"
},
"name": "vibekit_set_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vars | Yes | Key-value pairs to set as environment variables, e.g. { "API_KEY": "...", "NODE_ENV": "production" } | |
| appId | Yes | App ID (from vibekit_list_apps) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the call succeeded. | |
| data | No | Confirmation of the updated environment variables. | |
| error | No | Error message when ok is false (e.g. missing/invalid VIBEKIT_API_KEY, or an API error). |