Save one-time secret to a .env file
ncrypted_to_dotenvWrites a secret from an ncrypted single-use link directly into a local .env file as KEY=value with mode 600, keeping it hidden and warning if the file is not git-ignored.
Instructions
Open an ncrypted link and write its value into a local .env file (KEY=value, file mode 600) without showing it to you. Warns if the file isn't git-ignored.
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": {
"link": "<link>",
"key": "<key>"
},
"name": "ncrypted_to_dotenv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Variable name. | |
| link | Yes | ||
| path | No | Path to the .env file. Default: ./.env | |
| passphrase | No |