action appwrite_database_get_document { label: "Get Document" description: "Get a document by its unique ID. This endpoint response returns a JSON object with the document data." provider: appwrite method: GET path: "/database/collections/{collectionId}/documents/{documentId}" encoding: json input: { type: "object" properties: { collectionId: { type: "string" } documentId: { type: "string" } } required: ["collectionId", "documentId"] additionalProperties: false } output: { type: "object" description: "Document" required: ["$collection", "$id", "$permissions"] properties: { "$collection": { type: "string" description: "Collection ID." } "$id": { type: "string" description: "Document ID." } "$permissions": { type: "object" description: "Document permissions." items: { type: "object" description: "Permissions" required: ["read", "write"] properties: { read: { type: "array" description: "Read permissions." items: { type: "string" } } write: { type: "array" description: "Write permissions." items: { type: "string" } } } } } } } }