List, set, update, or delete environment variables
env_varsLists, sets, updates, or deletes owner-scoped environment variables for one Cloud site, Data project, Mobile starter, Studio app, or the Code workspace. Actions are list, set, update, and delete. Use env_vars for those stored values. Use deploy to publish a Cloud page: only public values are copied into the page, and private values are not. Use project for source and database for records. exposure is secret by default. There is no server runtime.
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": {
"product": "<product>"
},
"name": "env_vars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Variable name for set, update, and delete. 1 to 64 letters, numbers, and underscores, starting with a letter or underscore. | |
| value | No | New text value for set or update. At most 4,096 bytes. Not used by list or delete. | |
| action | No | list, set, update, or delete. Omitted means list. update and delete fail when the name is missing. delete removes the stored value. | |
| product | Yes | Scope product: cloud, data, mobile, studio, or code. code is the browser workspace and has no projectId. | |
| exposure | No | secret or public. Default secret. Only public is copied into a Cloud page. Private values are not. | |
| projectId | No | UUID of the Cloud, Data, Mobile, or Studio project. Omit for the Code workspace. |