Retrieve secret file
render_retrieve_secret_fileRetrieve a specific secret file from a Render service. Provide the service ID and file name to access the file directly, excluding linked environment group secrets.
Instructions
Retrieve secret file. Retrieve a particular secret file for a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. Calls GET /services/{serviceId}/secret-files/{envVarKey} on the Render Public API.
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": {
"envVarKey": "<envVarKey>",
"serviceId": "<serviceId>"
},
"name": "render_retrieve_secret_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envVarKey | Yes | The file name of the secret file | |
| serviceId | Yes | The ID of the service |