inject
Replace Proton Pass references in a template file with actual secret values, writing the result to an output file. Use to populate configuration files without exposing secrets.
Instructions
Inject secrets from Proton Pass references into a template file.
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": {
"inFile": "<inFile>"
},
"name": "inject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Overwrite output file if it exists | |
| inFile | Yes | Path to template input file | |
| confirm | No | Must be true to execute the write operation | |
| outFile | No | Optional output file path | |
| fileMode | No | Unix file mode (e.g. 0600) | |
| agentReason | No | Purpose of this operation, required for agent sessions; never include secrets |