Browse documentation

get_document

[Documents]

Read a complete current or specified historical document by ID or collection and key.

Parameters

NameTypeRequiredDescription
spaceIdstringYesWorkspace ID from list_spaces.
collectionIdstringNoCollection of the document, together with key. Use instead of documentId.
documentIdstringNoDocument ID. Use instead of collectionId and key.
keystringNoDocument key, together with collectionId. Use instead of documentId.
revisionstringNoRead this historical revision instead of the current one.

Examples

Replace the sample IDs with values from your store. Use a fresh UUID for each requestId.

Read a document by its collection and key.

Arguments
{
  "spaceId": "11111111-1111-4111-8111-111111111111",
  "collectionId": "33333333-3333-4333-8333-333333333333",
  "key": "deploy-window"
}
Full MCP request
Full MCP request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_document",
    "arguments": {
      "spaceId": "11111111-1111-4111-8111-111111111111",
      "collectionId": "33333333-3333-4333-8333-333333333333",
      "key": "deploy-window"
    }
  }
}