anchor_document
Adds an ADDITIONAL attachment between a document and a block — without touching the document's existing attachments or those of the block. A document's single attachment (the common case) is REPLACED with update_document({cellId}); anchor_document is for when a document must appear on SEVERAL blocks at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cellId | Yes | The block to attach THIS document to, IN ADDITION to its existing attachments — not a replacement. A document's single attachment is REPLACED with update_document({cellId}). | |
| documentId | Yes | Identifier of the document to attach (obtained via list_documents/create_document). | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |