list_collections
List the collections (docs sites) in an organization, with each one's id, name, type and the caller's permission (1 read, 2 read-write). Each collection also has rootParentId: the parent pageId to use with create_page for a top-level page. Get orgId from list_organizations. Pass exclude=runCollection,environment to keep the response small. Ask the user which collection to work in.
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": {
"orgId": "<orgId>"
},
"name": "list_collections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | Yes | The orgId path variable | |
| exclude | No | Comma-separated list of collection columns to exclude from the response (e.g. large JSON fields). e.g. runCollection,environment |