Tool | Description |
|---|
read_document
| Reads a document as a flat list of addressable blocks with stable IDs, plus any inline comment threads and pending suggestions (tracked changes). Read it before editing existing content to obtain block IDs and understand the current structure. Inserting at the document root does not require an existing block ID. |
insert_document_blocks
| Inserts new blocks (headings, paragraphs, lists, tables, images, etc.) from markdown. Insert before/after an existing block or at the start/end of a container. To insert at the document's start or end, use parent with blockId: null and position: "start" or "end". |
set_block_text
| Rewrites the inline content of one or more existing text blocks from markdown in a single call, preserving each block's type, attributes, ID, and position. Each replacement must contain a single block's inline content; use insert_document_blocks to add blocks or replace_document_blocks to rewrite a block as several. |
replace_document_blocks
| Replaces a block, with all its children, by new blocks from markdown in the same place: e.g. a paragraph into a heading plus a list. Also used to fill an empty document. Tables can be replaced only as a whole. |
replace_block_text
| Replaces one exact text occurrence inside a block, leaving the rest untouched. The preferred tool for small fixes — surrounding formatting and comments survive. Plain text matches regardless of formatting, and the replacement can carry inline markdown (bold, links, strikethrough). |
move_document_blocks
| Moves blocks (with all their children) to a new position in the document. |
delete_document_blocks
| Deletes blocks, each with all its children. |
set_block_attrs
| Changes block attributes: heading level, task done/todo state, code block language, callout icon, etc. |
add_inline_comments
| Adds inline comments to selected text — the same comment threads users see in the editor. Each comment must be anchored within one block; multiple comments can be added in a single call. |
reply_document_comment
| Adds replies to existing inline comment threads. Use each thread's root comment ID; multiple replies can be added in a single call. |
add_suggestion_comments
| Adds comments anchored to pending suggestions (tracked changes) — to question or discuss a suggestion instead of resolving it. The thread follows the suggestion until it is accepted or rejected, then lives on as an ordinary text comment. |
resolve_document_suggestions
| Accepts or rejects pending suggestions, specific ones by ID or all at once. Resolving changes the document directly: accepting a deletion removes the content, rejecting it keeps it; accepting an insertion keeps it, rejecting it removes it. |
get_entity_mention / get_user_mention
| Builds a "live" entity reference or user mention to embed into document content via the editing tools. |
add_file_from_url
| Downloads a file from a URL and attaches it to an entity's file field. |
prepare_file_upload
| Uploads a file from your computer to Fibery. Works only in clients that can run shell commands (Claude Code, Codex CLI, Cursor, etc.): the tool returns a curl command, and the file goes straight to Fibery, not through the chat. Then attach it with attach_files or embed it in a document. |
attach_files
| Attaches files already stored in Fibery to an entity's file field: a file uploaded with prepare_file_upload, a file from another entity, or a file attached in chat. |
download_file
| Fetches a file attachment by its secret and returns a signed download link valid for about an hour, plus file metadata. Small images and supported text files are also returned inline for the AI to inspect. |
get_files_meta
| Lists file attachments on entities. |