run_command
Executes child commands with granted Passhold secrets injected as environment variables, then removes Passhold auth variables and redacts secret values from stdout and stderr.
Instructions
Run a child command (shell: false) with granted Passhold secrets injected via environment variables. Strips Passhold auth variables and redacts secrets from stdout and stderr.
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": {
"argv": "<argv>",
"env": "<env>"
},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| env | Yes | Map of env var name to granted item or passhold:// reference. | |
| argv | Yes | ||
| reason | No | ||
| timeout | No | Timeout in seconds (default 60). |