inject_secret
Decrypt a SealedBox and inject plaintext directly into a PTY session, so the secret never appears in AI context or tool results. Call after vault_seal to deliver credentials securely.
Instructions
Decrypt a SealedBox from cred-mcp and write the plaintext directly into a PTY session. The plaintext never appears in AI context or tool results — only {success:true} is returned. Call after vault_seal on cred-mcp.
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": {
"pty_session_id": "<pty_session_id>",
"sealed_box": "<sealed_box>"
},
"name": "inject_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sealed_box | Yes | SealedBox JSON object returned by cred-mcp's vault_seal tool | |
| pty_session_id | Yes | ID of the PTY session to inject the secret into |