get_doc
Retrieve a document by its ID using GraphQL metadata on the AFFiNE MCP Server. Input workspace ID and document ID to access specific workspace content.
Instructions
Get a document by ID (GraphQL metadata).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
docId | Yes | ||
workspaceId | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"docId": {
"minLength": 1,
"type": "string"
},
"workspaceId": {
"type": "string"
}
},
"required": [
"docId"
],
"type": "object"
}