Get a space document by its ID
gitbook_get_document_by_idRetrieve a specific document from a GitBook space using its unique document ID. Provide space ID and document ID to get the document content.
Instructions
Get a space document by its ID. (GET /spaces/{spaceId}/documents/{documentId})
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>",
"documentId": "<documentId>"
},
"name": "gitbook_get_document_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spaceId | Yes | Path parameter: spaceId. | |
| documentId | Yes | Path parameter: documentId. | |
| body | No | Optional query parameters as a JSON object (e.g. { limit, page }). |