delete_secret
Remove environment variables or secrets from Replit workspaces to manage sensitive data and maintain clean configurations.
Instructions
Delete an environment variable/secret from a repl
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": {
"key": "<key>"
},
"name": "delete_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The name of the environment variable to delete | |
| replId | No | Optional repl ID (uses active repl if not specified) |