list_environments
Retrieve current workspace environments one page at a time to find environment IDs for further Scalekit operations.
Instructions
List environments in the current workspace, one page at a time. Use this to discover environment ids. Use get_environment_details when you already have an id. Requires the caller OAuth token.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_environments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageSize | No | Maximum environments to return. Default 20. Maximum 100. | |
| pageToken | No | 1-based page number (1, 2, 3...). Defaults to first page if not provided. |