Set environment variable
set_envSet or merge project secrets from values the human gave you (never invent them). Stored encrypted, never echoed back, and available to the app as process.env.KEY in preview and published apps; restart the preview to load them. Keys: letters, digits and _ (platform-reserved names are refused); values up to 8192 characters.
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": {
"vars": "<vars>"
},
"name": "set_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vars | Yes | ||
| project_id | No | Project id (or use session from use_project) |