Get a page's content
gitbook_get_pageRetrieve a GitBook page's content by its ID. Choose between markdown or structured Document JSON output.
Instructions
Read a page by id. format='markdown' (default) returns rendered markdown; format='document' returns GitBook's structured Document JSON.
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": {
"spaceId": "<spaceId>",
"pageId": "<pageId>"
},
"name": "gitbook_get_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spaceId | Yes | Space id. | |
| pageId | Yes | Page id (from gitbook_list_pages). | |
| format | No | Output format (default markdown). |