list_spaces
Retrieve all spaces in a GitBook organization. Use this tool to enumerate documentation spaces, with pagination support for large orgs.
Instructions
List all spaces in a GitBook organization
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_spaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Pagination token | |
| limit | No | Max items to return | |
| orgId | Yes | The organization ID |