Run a command with secrets
runWithSecretsRun commands with secret values injected as environment variables, while keeping plaintext secrets out of the model's context. Returns exit code and redacted output.
Instructions
Run a command with named secrets injected as environment variables into the child process. Returns exit code and REDACTED output. Secret values are never exposed to the model.
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": {
"command": "<command>",
"secretNames": "<secretNames>"
},
"name": "runWithSecrets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| command | Yes | ||
| secretNames | Yes |