maket_workspace
Open a document page in the live preview, inspect its state, lock or unlock it, fit the workspace view, and process pending user annotations and messages.
Instructions
When to use: every session-level interaction with the live workspace — open a doc/page in the preview, inspect a doc's current state, toggle its lock, and process the user-message queue. For persistent CRUD on documents (create, rename, delete, duplicate, meta, import/export) use maket_doc.
focus — open doc at page page in the live preview (sets active doc + active page).
state — summarise doc's current state: canvas, pages with element counts and data-source cursors (collection · mode · row), charte, pending messages.
lock — lock or unlock doc. When locked, every doc-scoped mutation refuses until it's unlocked. Pass locked=true/false, or omit to toggle.
fit_view — zoom out the client to fit the whole workspace (same as the Maximize button).
list_messages — return pending annotations as JSON. With doc, return only that document's messages; without it, return all document and workspace messages. Each message carries docName (or none for workspace scope), pageIndex and elementId for its anchor, text, ts; a note the person changed after sending also carries edited: true and editedAt (epoch ms) — act on the current text.
ack_messages — drop the given ids from whichever bucket they live in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | The document in scope. Required for focus/state/lock. For list_messages, pass an exact document name to read only its annotations; omit to read all document and workspace messages. | |
| ids | No | For ack_messages: message ids to mark processed. | |
| page | No | For focus: 1-based page number to make active. | |
| action | Yes | Operation to run. See the tool description for the action table. | |
| locked | No | For lock: true to lock the document, false to unlock. Omit to toggle. |