maket_workspace
Manage the live workspace: open documents and pages for preview, inspect document state, toggle locks, fit the view, and process user-message queues.
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, 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 every pending user message across all docs and the workspace bucket as JSON. Each message carries its own docName (or none for workspace scope).
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. Do not pass it for list_messages; that action returns every queued user message across all documents and the workspace. | |
| 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. |