apply_secrets_to_file
Write selected secrets into a destination file as environment variables without returning their values. Optionally map secret names to custom keys for env-format output.
Instructions
Writes one or more secrets into dest_path without ever returning the value. key_names is an optional {name: key_in_file} map — without an entry, it defaults to the secret name upper-cased (e.g. 'db-pass' -> 'DB_PASS').
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": {
"names": "<names>",
"dest_path": "<dest_path>"
},
"name": "apply_secrets_to_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | ||
| format | No | env | |
| dest_path | Yes | ||
| key_names | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |