Link service
render_link_service_to_env_groupLink a service to an environment group to grant it access to the group's environment variables and secret files.
Instructions
Link service. Link a particular service to a particular environment group. The linked service will have access to the environment variables and secret files in the group. Calls POST /env-groups/{envGroupId}/services/{serviceId} 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": {
"envGroupId": "<envGroupId>",
"serviceId": "<serviceId>"
},
"name": "render_link_service_to_env_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serviceId | Yes | The ID of the service | |
| envGroupId | Yes | Filter for resources that belong to an environment group |