Import .env
import_envSet many secrets at once from dotenv text (KEY=value lines). Existing keys are kept unless overwrite is true; protected keys and keys outside the token's limits are skipped and named. Requires secrets:write and the editor role.
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": {
"project": "<project>",
"environment": "<environment>",
"text": "<text>"
},
"name": "import_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Store new entries as secret (default) or plain | |
| text | Yes | dotenv text | |
| project | Yes | Project slug or id | |
| overwrite | No | Replace existing values (each replaced value stays in the version history) | |
| environment | Yes | Environment slug or id, e.g. development, preview or production |