save_api_key
Seals a newly created API key into the owner's Passhold inbox for review, optionally piping command output directly so the secret never enters model context.
Instructions
Seal a newly created API key directly into the human owner’s Passhold inbox for review. Prefer passing from_command (argv array, shell: false) so the secret goes straight from command stdout into Passhold without entering model 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": {
"title": "<title>"
},
"name": "save_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory for from_command. | |
| env | No | Default environment variable name (e.g. STRIPE_API_KEY). | |
| key | No | Direct secret key value (omit when using from_command). | |
| hosts | No | ||
| keyId | No | ||
| notes | No | ||
| title | Yes | Short display name for the API key (e.g. "Stripe sandbox"). | |
| reason | No | Short context shown to the owner in Passhold inbox. | |
| scopes | No | ||
| sendAs | No | bearer, basic, header:<name>, or query:<name>. | |
| service | No | ||
| environment | No | e.g. production, sandbox, development. | |
| from_command | No | Command argv executed directly (shell: false) whose trimmed stdout is sealed as the key without returning it. |