run_with_secret
Execute a command with a stored secret injected as an environment variable, so plaintext secrets never enter the agent's context.
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": {
"secret_name": "<secret_name>",
"command": "<command>"
},
"name": "run_with_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes | ||
| timeout | No | ||
| secret_name | Yes | ||
| env_var_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |