Manage saved variable sets (legacy)
env_var_setsLegacy multi-variable records. Prefer saved_env_vars, one variable per record. Raw values are never returned.
Set "action" to choose the operation. Only send the fields listed for that action.
action="list": List saved variables (legacy)
No other fields required. Legacy compatibility tool. Prefer saved_env_vars(action="list"). Lists saved variable metadata for the authenticated user. Raw values are never returned. Use returned ids as start_deployment.envVarSetIds, update_deployment_revision.envVarSetIds or start_backtest.envVarSetIds for non-broker runtime secrets such as data-provider API keys. Returned metadata includes displayName, keyNames, status, and timestamps only; it never includes raw values or Vault secret ids. Reserved runtime names and prefixes are rejected: AWS_*, BOTSPOT_*, BOT_MANAGER_*, DEPLOY_*, MCP_*, AUTH0_*, DB_*, DATABASE_*, CUSTOM_JWT_*, AI_SERVICE_*, PYTHON*, LD_*, DYLD_*, PIP_*, UV_*, ECS_*, NODE_API_*, LUMIBOT_SCHEDULED_*, LUMIBOT_LIVE_ARTIFACTS_*, BACKTEST_CACHE_*, plus PATH, PYTHONPATH, NODE_ENV, PORT, HOME, LD_PRELOAD and other interpreter controls. LUMIBOT_SCHEDULED_* and LUMIBOT_LIVE_ARTIFACTS_* values are set only by BotSpot for its own scheduled runs; never tell a user to save them or pass them through envVarSetIds, because BotSpot rejects them and the runtime ignores them.
action="create": Create saved variables (legacy)
Required fields: displayName, envVars. Legacy compatibility tool. Prefer saved_env_vars(action="create") and create one saved variable at a time. Stores environment variable values in Vault and returns only metadata for the authenticated user. Use this for non-broker runtime secrets such as data-provider API keys. Examples: {"APIFY_API_TOKEN":"..."}, {"OPENAI_API_KEY":"..."}, {"DATABENTO_API_KEY":"..."}, {"POLYGON_API_KEY":"..."}. Do not store broker credentials here when a saved broker credential can represent the broker connection. Reserved runtime names and prefixes are rejected: AWS_*, BOTSPOT_*, BOT_MANAGER_*, DEPLOY_*, MCP_*, AUTH0_*, DB_*, DATABASE_*, CUSTOM_JWT_*, AI_SERVICE_*, PYTHON*, LD_*, DYLD_*, PIP_*, UV_*, ECS_*, NODE_API_*, LUMIBOT_SCHEDULED_*, LUMIBOT_LIVE_ARTIFACTS_*, BACKTEST_CACHE_*, plus PATH, PYTHONPATH, NODE_ENV, PORT, HOME, LD_PRELOAD and other interpreter controls. LUMIBOT_SCHEDULED_* and LUMIBOT_LIVE_ARTIFACTS_* values are set only by BotSpot for its own scheduled runs; never tell a user to save them or pass them through envVarSetIds, because BotSpot rejects them and the runtime ignores them.
action="update": Update saved variables (legacy)
Required fields: id. Legacy compatibility tool. Prefer saved_env_vars(action="update"). Updates saved variable metadata and optionally replaces Vault material for the authenticated owner. When envVars is provided, it replaces the saved record. Values are encrypted at rest and never returned to MCP.
action="enable": Enable saved variables (legacy)
Required fields: id. Legacy compatibility tool. Prefer saved_env_vars(action="enable"). Re-enables saved environment variables for future backtest/deployment secret injection.
action="disable": Disable saved variables (legacy)
Required fields: id. Legacy compatibility tool. Prefer saved_env_vars(action="disable"). Reversibly disables saved environment variables so they cannot be used for future backtest/deployment secret injection.
action="delete": Delete saved variables (legacy)
Required fields: id. Legacy compatibility tool. Prefer saved_env_vars(action="delete"). Deletes saved variable material from Vault and marks the authenticated user's metadata row deleted. Deletion is rejected while any saved runtime preference still references the record; detach every reference first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Used with action="update", action="enable", action="disable", action="delete". Required for action="update", action="enable", action="disable", action="delete". | |
| action | Yes | Which operation to run: "list", "create", "update", "enable", "disable", "delete". See the tool description for each one. | |
| envVars | No | Used with action="create", action="update". Required for action="create". | |
| displayName | No | Used with action="create", action="update". Required for action="create". |