get_environment_credentials
Read an environment's API client ID, URL, and secret suffix as a .env block. Requires OAuth token; client secret value is not returned.
Instructions
Read the API client id, environment URL, and secret suffix for one environment, as a .env block. Use get_environment_details for the environment name and domain, not the client id. Requires the caller OAuth token. The client secret value is not returned. The dashboard shows that secret.
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": {
"environmentId": "<environmentId>"
},
"name": "get_environment_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environmentId | Yes | Scalekit environment id. Format: env_<id>. |