check_document_attachments
List a document's attachments and verify an attachment ID belongs to that document and its stored bytes can be opened with current access.
Instructions
List attachments on a readable document. Supply attachmentId to verify that this attachment belongs to the document and that its stored bytes can be opened with the current access.
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": "check_document_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | UUID returned by the corresponding list or read operation. | |
| workspaceId | No | Workspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes. | |
| attachmentId | No | UUID returned by the corresponding list or read operation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| verification | No | ||
| verifiedAttachmentId | No |