get_knowledge_base_document
Return the FULL text of one knowledge-base document, with contentSha256 — the hash edit_knowledge_base_text_document quotes as expectedSha256. Read-only. get_workspace_summary and get_application_context show each document only as a preview (truncated: true when cut), so read the document here before correcting it. A very long document comes in pages: call again with nextOffset until it is null.
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": {
"documentId": "<documentId>"
},
"name": "get_knowledge_base_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Character offset to start from. Omit for the beginning; pass the previous nextOffset to continue. | |
| maxChars | No | Characters to return, at most 100000. Defaults to 40000. | |
| documentId | Yes | Required. Document id from knowledgeBases[].documents[].id in get_workspace_summary or get_application_context. | |
| applicationId | No | Application (workspace) id. Optional: an application-scoped key (app_...) defaults to its own application, but a personal key (usr_...) has no default and omitting it fails with MCP_APPLICATION_REQUIRED. Call list_applications to get the id. |