get_document_metadata
Read one WorkspaceDocument row by id. Metadata only (no bytes). Access via project membership on the parent library's project; org-admin canViewAll also OK. 404 on cross-org / no-access. PREFER list_documents for browsing a library; PREFER get_document_history for rename history.
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_document_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | WorkspaceDocument row id. |