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.
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>",
"cellId": "<cellId>"
},
"name": "anchor_document"
}
}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 THIS call targets (overrides the session project). |