secrets_set
Set one secret on a tool. It is injected as an environment variable of that name and the tool is restarted. Names are UPPER_SNAKE_CASE. Never echo the value back to the user.
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": {
"tool": "<tool>",
"name": "<name>",
"value": "<value>"
},
"name": "secrets_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | UPPER_SNAKE_CASE environment variable name, e.g. STRIPE_KEY. | |
| tool | Yes | The tool's short name, for example 'finance', or 'acme/finance' to select its workspace. | |
| value | Yes | The secret value. | |
| workspace | No | Workspace slug to act in. Use this when you belong to several workspaces; whoami lists them. |