A2UI Atomic Catalog
v1.0.0500+ typed UI atoms an agent composes into real rendered interfaces.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_catalogs
List every A2UI catalog with a when-to-use, so you can pick the extension catalogs a surface needs. The base catalog (a2ui-atoms-v1) is always resolved.
get_catalog
Return one catalog's atoms (type + one-line description) so you know its vocabulary.
| Parameter | Type | Description |
|---|---|---|
catalog * | string | catalog slug or catalogId URI |
find_atoms
Semantic search over the atom catalog: describe the UI piece you need in plain words and get the best-matching atoms, ranked best-first, each with a description and an example need. YOU choose from the list (the first entries are most likely, but check the descriptions), then call get_atom_schema for the one(s) you pick. Use this instead of scanning get_catalog when the vocabulary is large. Describe the need as a user would (e.g. "let clients choose grooming services and see the total price"), not by guessing an atom name. Pass `renderer` to keep only atoms that renderer draws as intended (sta…
| Parameter | Type | Description |
|---|---|---|
need * | string | The UI piece you need, in plain words (one need per call) |
include_degraded | boolean | With renderer only: also keep atoms with status degraded (Flutter lowers them to Basic components, so they show but not as the atom intends). Default false. |
k | integer | How many candidates to return (default 10, max 50). If none fits, rephrase the need or ask for more. |
renderer | string | Optional renderer id: react, lit, angular, copilotkit, a2ui-vue, flutter or compose. Keeps only atoms whose measured status for it is drawn or native; atoms with no renderer data (not yet measured) ar… |
get_atom_schema
Return the PROP SHAPE (field names + what each field takes) for named atoms. get_catalog tells you an atom EXISTS; this tells you how to fill it. Call this before authoring any atom you have not used before — guessing prop names is the single most common cause of an atom rendering empty or wrong. Accepts several types at once, so a multi-atom surface resolves in one call. Each atom also carries `renderers`: renderer id -> measured status (web: drawn, drawn_with_differences, not_verified, not_supported, not_measured; flutter: native, degraded, not_supported, not_measured; compose: native, not…
| Parameter | Type | Description |
|---|---|---|
types * | array | Atom type names, e.g. ["weather_now","chartjs_bar"] (max 25) |
required_catalogs
Given an A2UI payload, return the resolvable catalog URIs it needs (deterministic — pure function of the atoms).
| Parameter | Type | Description |
|---|---|---|
payload * | object | The A2UI payload to inspect: {title, theme, blocks:[...]} in the blocks dialect. |
build_multi_page_surface
Build a multi-section A2UI app from raw title+content sections — you never estimate size or decide how to split; each section becomes its own independently-encoded page (no shared hub, so per-page size never grows with page count — genuinely unlimited sections). Returns the first page's `url` plus a `pages` array ([{heading, url}]) for every section — present that list to the user yourself (e.g. numbered links); pages do not cross-link to each other. Prefer this over make_surface_url for multi-section content.
| Parameter | Type | Description |
|---|---|---|
sections * | array | Array of {heading, content} sections |
title * | string | Hub page title |
renderer_url | string | Your deployed renderer /exec URL (optional; defaults to BYO) |
make_surface_url
Render an A2UI payload in the CALLER'S OWN environment. Pass renderer_url (your deployed renderer /exec) and get a live URL + the catalogs it declares. Omit renderer_url to get the encoded fragment + BYO guidance. We host nothing and never see your content. NEVER hand-write your own gzip/base64 encoding for the ?p= URL, in ANY language, even as a "just this once" fallback. This is the single most common cause of "could not decompress gzip" — a self-written encoder with one wrong flag (wrong wbits, standard vs. urlsafe base64, un-stripped padding) produces a broken URL at ANY size, not just…
| Parameter | Type | Description |
|---|---|---|
payload * | object | The A2UI payload to encode into a ?p= URL: {title, theme, blocks:[...]}. Send it whole; oversize payloads are split for you. |
renderer_url | string | your renderer /exec (BYO). Omit for fragment + guidance. |
preview_url
Quick DEMO render on the public renderer (ephemeral, nothing stored). Limited to 2 runs per client, then deploy your own renderer and use make_surface_url. Onboarding only — not the workflow. DATA-IN-URL: keep payloads SMALL (URL < ~2000 chars); large payloads make long URLs that get truncated (→ render errors). For substantial content GRADUATE with emit_deployment instead — no size limit.
| Parameter | Type | Description |
|---|---|---|
payload * | object | The A2UI payload to preview: {title, theme, blocks:[...]}. Keep it small (URL under about 2000 chars). |
render_surface
Render an A2UI payload INSIDE the chat as a live interactive view (MCP Apps hosts only — on other hosts this returns the payload as text). No URL, no size ceiling, nothing stored: the payload travels in the tool result and renders in the a2ui_catalog_view. Accepts the blocks dialect or a v1.0 createSurface envelope (templates + dataModel decode in the view). Prefer this over preview_url when the host supports MCP Apps. If the user names one of the Workspace's own pre-built views — Wall Builder, profile, history, links, composer — call open_workspace(view: ...) instead of composing one h…
| Parameter | Type | Description |
|---|---|---|
payload * | object | The A2UI payload to render in the chat view: blocks dialect {title, theme, blocks:[...]} or a v1.0 createSurface envelope. |
make_film
Make a short motion film (a social clip, launch teaser, quote card...) built by the A2UI Design Studio: you choose a template and supply the words; the studio builds the film. Use this instead of composing motion_timeline blocks yourself. It plays inline here and comes with a link that opens in the A2UI Studio app on Android, where the user can edit the text and export MP4 or GIF on the phone. BEFORE CALLING, ask the user in one short message for what you do not know: what it is about (the hook line), any real numbers with their labels, the call to action, and where it will be posted (portrai…
| Parameter | Type | Description |
|---|---|---|
template * | string | Starting template. |
aspect | string | Override the template aspect. |
look | string | Colour preset. Default: the template's. |
pace | string | Timing preset for scene length and transitions. Default: the template's. |
scenes | array | Scenes in order, replacing the template's. Omit to keep the template's scenes with its sample words. |
title | string | Film title (also the file name when exported). |
sketch_agent_start
Start a real, live agent_sketchpad drawing: one Gemini call plans a complete picture as an ordered list of SVG strokes, the first stroke renders immediately, and the rest reveal as you call sketch_agent_poll again — a real multi-turn task, not a single one-shot render. MCP Apps hosts only (same as render_surface). Stateless server: the task is held in KV for 1 hour, not in this connection — keep the returned taskId and the next cursor to keep polling.
| Parameter | Type | Description |
|---|---|---|
subject * | string | What to draw, e.g. "a lighthouse at sunset". Max 150 characters. |
sketch_agent_poll
Continue a sketch_agent_start task: returns every stroke newer than the given cursor (an event log, not a snapshot — nothing is skipped regardless of poll timing) plus the next cursor, reveals the result in-chat the same way render_surface does, and reports whether the drawing is complete. Call again with the returned cursor until done is true.
| Parameter | Type | Description |
|---|---|---|
cursor * | integer | The cursor returned by the previous start/poll call. 0 to start from the beginning. |
taskId * | string | The taskId returned by sketch_agent_start. |
render_ping
Diagnostic: render a tiny test view in-chat (MCP Apps hosts only). Proves view mounting works independent of the full catalog renderer. Echoes back whatever payload you pass.
| Parameter | Type | Description |
|---|---|---|
payload | object | Any JSON object; it is echoed back as the result so you can see what the view received. Optional. |
wasm_spike
Diagnostic (MCP Apps hosts only): mounts a view that instantiates a tiny hand-assembled WebAssembly module, computes per-frame state in it, renders to canvas, and captures arrow-key input -- the same three ingredients a WASM game port would need. Answers whether THIS host permits WASM execution inside a ui:// View iframe; it proves nothing about any other host or sandbox.
diagram_studio
Draw a diagram in-chat with the full Diagram Studio interface (MCP Apps hosts only; it opens fullscreen where the host allows it). YOU write the diagram; nothing is generated server-side and nothing is stored. PREFER `graph`: give vertices (id, label, type start|process|decision|database|cloud|end) and edges (source, target, optional label). The person then gets the whole studio: they can switch the same graph between Mermaid, D2, PlantUML and draw.io, flip its direction, zoom, copy the code, open it in the real draw.io editor with one click, and edit nodes and connections themselves (their ed…
| Parameter | Type | Description |
|---|---|---|
direction | string | Graph layout direction: TB (top to bottom, default) or LR. |
format | string | Which format the view opens on. Default mermaid; mermaid and d2 draw a picture. |
graph | object | The diagram as a graph (preferred). |
source | string | Only with `syntax`: a complete diagram, drawn as written. |
syntax | string | Only with `source`: the language of that source. |
theme | string | Colours for the draw.io output. Default modern_indigo. |
title | string | Optional heading shown above the diagram. |
amiga
Open a real, cycle-exact Amiga 500 emulator in-chat (MCP Apps hosts only). Boots straight into AROS, a free open-source environment (no copyrighted Kickstart ROM involved), with a public-domain Amiga game already loaded and running. This is a fixed, self-contained retro-computing demo -- there is nothing to configure and no arguments to give it; call it when someone wants to see or play with a real emulated Amiga. On a host without MCP Apps support this says so as text; an emulator has no useful non-visual form.
distill_document
Compile a training.md / roadmap markdown document into a live interactive A2UI app — DETERMINISTIC parser, no model involved. Fact sheet: input is MARKDOWN following the training-md contract (frontmatter id/domain/name/source/license + a # Steps section); the text transits to the catalog's stateless parser service for the duration of the call and is NOT stored; lint errors come back as a structured report (fix and re-call). On success the result IS the compiled surface — MCP Apps hosts paint it in the view; other hosts can pass the returned payload to preview_url for a link.
| Parameter | Type | Description |
|---|---|---|
markdown * | string | the full markdown document, frontmatter included |
domain | string | parse contract to apply (default training) |
publish_url
STORES the payload server-side and returns a SHORT shareable link. Opt-in only: requires acknowledge_storage=true — confirm with the user first that they accept operator-hosted storage (ONE WEEK retention on the public tier, revocable earlier via the returned delete_token; anyone with the link can view). target "play" (default) renders in the a2uicatalog playground by reference (no URL size ceiling); target "gas" makes the short link redirect to the public Apps Script renderer. For storage in the USER's own account use emit_deployment; for nothing-stored links use preview_url.
| Parameter | Type | Description |
|---|---|---|
acknowledge_storage * | boolean | MUST be true — affirms the user consented to server-side storage |
payload * | object | The A2UI payload to store and share: {title, theme, blocks:[...]}, up to 100 KB serialised. |
alias | string | optional vanity name for the link (/s/<alias>) — first-come, frees when the link expires |
target | string | Where the short link opens: "play" (default) the a2uicatalog playground by reference, "gas" the public Apps Script renderer. |
ttl_days | number | OPERATOR-ONLY (authenticated requests): retention override; 0 = permanent. Public tier is fixed at one week. |
unpublish_url
Delete a published short link before its TTL using the delete_token returned by publish_url.
| Parameter | Type | Description |
|---|---|---|
delete_token * | string | The delete_token that publish_url returned for this link. |
id * | string | The published link id, or the full short URL (https://a2uicatalog.ai/s/<id>) returned by publish_url. |
emit_deployment
🎓 GRADUATE a tested surface into a dedicated, DEPLOYER-ONLY standing app in YOUR OWN Google Apps Script account. Returns a deterministic recipe (config files + clasp ops + least-privilege scopes derived from the atoms + verify) — you run it with your own clasp; nothing runs on our side, we hold no creds.
| Parameter | Type | Description |
|---|---|---|
payload * | object | The tested A2UI payload to bake into the standing app as its home surface: {title, theme, blocks:[...]}. |
app_name | string | Name for the Apps Script project and its folder. Defaults to the payload title, else "A2UI App". |
emit_training_runbook
Build a multi-lesson training/course surface as ONE properly-linked page with real in-app tab navigation between lessons — prefer this over build_multi_page_surface for training/course content specifically: that tool produces N independent pages with NO links between them (you must present the list yourself); this tool produces one page where lessons are real, clickable tabs. Zero sizing/estimation judgment required — give it your lessons, it handles composition and navigation.
| Parameter | Type | Description |
|---|---|---|
lessons * | array | Array of {heading, content} lessons — each becomes its own tab |
title * | string | Course title |
renderer_url | string | Your deployed renderer /exec URL (optional; defaults to BYO) |
emit_runbook_surface
Stamp your content through a DECLARED runbook — a pre-authored, judgment-free surface composition. You supply content only; the runbook supplies the composition (which atoms, how arranged, navigation). DISCOVERY: call with runbook_id only (no content) to get that runbook's input_contract + parsing_guide — shape your source data to the contract (parsing is your job as the consumer), then call again with `content`. Some runbooks also return `elicit` — questions to ASK THE USER before you fill the contract. Ask them; do not guess the answers. ON SUCCESS YOU GET BOTH `payload` AND `url`, AND…
| Parameter | Type | Description |
|---|---|---|
runbook_id * | string | Stampable runbook name. "learning_hub" = curriculum/study app from content you supply. "article_playbook" = a steered critical reading of someone else's article (you fetch and read it yourself; the ru… |
content | object | Your content shaped to the runbook's input_contract. Omit to get the contract back instead of a URL. |
renderer_url | string | Your deployed renderer /exec URL (optional; defaults to the public demo renderer) |
source | object | The source the USER supplied (workspace surfaces pass this; you normally do not). {url?, text?}. Echoed back in the discovery response so you read THAT source rather than asking for it again. Ignored… |
describe_playbook
Explain a playbook to a HUMAN as a rendered surface: the frame it reads against, the lenses available, and the questions it will ask them. Compiled from the runbook declaration, so it costs nothing and cannot drift from what the stamper enforces. This is NOT emit_runbook_surface discovery — that returns a contract addressed to YOU. Use this when someone asks what a playbook does or how it works; pass the result to render_surface.
| Parameter | Type | Description |
|---|---|---|
runbook_id * | string | Which stampable runbook to describe. |
open_workspace
Open the A2UI Workspace — a rendered surface that IS the demo: each tool is introduced by the scenario it answers, then wired to run, then shows what it saved. This tool RENDERS ITSELF: its result carries the view, so call it alone and show the result — do NOT pass it on to render_surface, and do not describe the payload in prose. Call it when the user asks to open the workspace, wants to see what this connector can do, asks what is saved about them, or names one of its tools directly — e.g. "open the Wall Builder" means THIS tool with view: "wall_builder", not a separate tool named wall…
| Parameter | Type | Description |
|---|---|---|
prompt | string | Composer view only. Pre-fills the custom-prompt box with this text instead of the default example — used by a reopened generation's "Need to tweak?" action to carry its original prompt back into an… |
view | string | Which screen to open — omit or "home" for the tool selector. The workspace UI navigates between these by calling this tool again with a different view (its own back button); you would normally only… |
get_profile
Read the signed-in reader's saved profile and recent history. Call this BEFORE asking a runbook's `elicit` questions: if a domain or default lens is already saved, CONFIRM it ("reading as: a2ui, generative ui — change?") instead of asking from scratch. Returns available:false on the public endpoint, where there is no one to have a profile — that is the designed state, so degrade quietly and just ask the questions.
save_profile
Update the signed-in reader's profile. Only the keys you pass change; pass null to clear one. Save what the reader TOLD you, never what you inferred from one article — a profile that drifts on every reading is worse than no profile, because they stop being able to predict what it will do.
| Parameter | Type | Description |
|---|---|---|
concerns | string | Standing things they always want pushed on, in their own words. |
default_lens | string | Opening posture when the reader does not name one: explain | apply | challenge | situate. |
display_name | string | What to call them in a rendered surface. Set this so a UI never has to show their email — the address is an identifier, not a greeting, and a shared screen should not leak it. |
domains | array | Areas of interest the apply lens transfers into, e.g. ["a2ui","generative ui"]. |
theme | string | Reader's preferred UI theme. The Workspace saves this itself when its toggle is clicked — you would not normally set this from a chat turn. |
save_reading
Record a stamped surface in the reader's history so it can be compared and reopened later. Call it AFTER emit_runbook_surface, and PASS ITS `payload` — that stores the reading itself rather than a link to it. Silently no-ops when nobody is signed in.
| Parameter | Type | Description |
|---|---|---|
runbook * | string | e.g. "article_playbook" |
lens | string | The lens the reading was made through (e.g. "explain"), so history can show it. |
payload | object | The compiled surface emit_runbook_surface returned (its `payload`). PASS IT. Without it the row is a link only, and a link depends on a renderer staying reachable — with it the reading is stored por… |
source_title | string | The original article's headline, kept beside source_url. |
source_url | string | The original article, so history stays attributable. |
title | string | The ANALYSIS title (yours), not the source headline. |
url | string | The stamped surface url returned by emit_runbook_surface. |
export_reading
Export a kept reading as something that outlives this connector. format "html" returns ONE self-contained file — styles inlined, no network, opens in any browser years from now with nothing installed. "url" rebuilds a link against any renderer (yours by preference). "surface" returns the payload for repainting in place. "json" returns the decoded payload. Needs a reading saved WITH its payload; older link-only rows cannot be re-rendered and will say so.
| Parameter | Type | Description |
|---|---|---|
format | string | Default html. "surface" returns the payload itself, for repainting in place. |
id | string | Reading id from list_readings. OMIT for the most recent one. |
renderer_url | string | For format "url": your own renderer /exec. |
render_reading_to_slack
Post a kept reading into Slack as real, native Block Kit — the continuity proof: generate here, save it, and the SAME content reopens in Slack, not a link back to a renderer. Requires the caller's Slack account to already be linked (`/a2ui link` in Slack) and only works on an authenticated connection — it posts to a real workspace using a shared bot token.
| Parameter | Type | Description |
|---|---|---|
channel | string | Slack channel to post to. Default #general. |
id | string | Reading id from list_readings. OMIT for the most recent one. |
list_readings
The reader's recent stamped surfaces, newest first — what makes "compare this to my last three teardowns" answerable at all. Optionally filter to one runbook. Returns available:false when nobody is signed in.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Default 20, max 100. |
runbook | string | Filter to one runbook, e.g. "article_playbook". |
delete_reading
Permanently remove one or more of the reader's saved readings from their History. Takes an array so the Workspace's multi-select can delete a batch in one call rather than one round trip per row. Ids that don't exist (or belong to someone else's history) are silently skipped — the response's `deleted` count says how many rows actually went, never assume it equals the number of ids you sent.
| Parameter | Type | Description |
|---|---|---|
ids * | array | Reading ids from list_readings. A single-item array deletes one row. |
read_article
Have the catalog's own model (Gemini) read an article through the article_playbook runbook and KEEP the reading in the signed-in reader's history, in one call. For a client with no model of its own (the Android analyser app), or when the reader asks for a Gemini reading. If you can read the article yourself, prefer emit_runbook_surface + save_reading. Pass `text` when you already have the article (it is then the only source the reading may quote), else `url` and it is fetched server-side. Takes 20-60 s. Needs a signed-in reader; capped per reader per day.
| Parameter | Type | Description |
|---|---|---|
url * | string | The article's public URL. Required: it is the attribution link. |
concerns | string | What the reader wants the reading to look for or push back on. |
domains | string | For lens "apply": the reader's domains, comma-separated. |
lens | string | Default explain. |
source_title | string | The article's headline, kept with the reading for attribution. |
text | string | The article text, if the caller already fetched it. Truncated to 60000 chars. |
deck_schema
List the slide layouts the PPTX renderer builds (title, bullets, stats, quote, table, media, cta), each field with its limits, the targets, the film-only scenes, and the A2UI atoms that have a slide recipe (payload_atoms). Read this before writing a deck.
deck_validate
Check a deck (scene list or A2UI payload) without building it. Returns every error with its slide, field and exact limit, warnings (no speaker notes, no link) and, for a payload, which atoms have no slide recipe. Not rate-limited.
| Parameter | Type | Description |
|---|---|---|
deck | A typed scene list: {"title","target","scenes":[{"type":"title|bullets|stats|quote|table|media|cta","f":{...fields...},"notes":"speaker notes"}]}. Same scene fields as make_film (eyebrow, headline, su… | |
payload | An A2UI payload {"blocks":[{"type":"quote",...},...]}: each atom with a slide recipe becomes slides, others are listed under `unsupported`, never guessed. deck_schema lists the atoms. Give payload OR… | |
skip_film_only | boolean | For a scene list that came from a film: leave out scenes with no slide layout (chart, chat, word, morph, captions, image) instead of treating them as errors. |
deck_build
Build a PowerPoint (.pptx) file from a scene list or an A2UI payload. Deterministic (same input, same bytes), nothing is stored or fetched, text is fitted with real font metrics and the file is linted (overlap, bounds, contrast, alt text). Returns the file as an embedded resource plus a report: errors, lint, warnings and unsupported atoms. Opens in PowerPoint and Google Slides (checked in Google Slides). Demo limit: 10 builds a day per connection.
| Parameter | Type | Description |
|---|---|---|
deck | A typed scene list: {"title","target","scenes":[{"type":"title|bullets|stats|quote|table|media|cta","f":{...fields...},"notes":"speaker notes"}]}. Same scene fields as make_film (eyebrow, headline, su… | |
delivery | string | How the .pptx comes back. link (default): a download link valid for one hour, which works in every client including chat apps that cannot receive attachments. file: the .pptx as an embedded resource,… |
payload | An A2UI payload {"blocks":[{"type":"quote",...},...]}: each atom with a slide recipe becomes slides, others are listed under `unsupported`, never guessed. deck_schema lists the atoms. Give payload OR… | |
skip_film_only | boolean | For a scene list that came from a film: leave out scenes with no slide layout (chart, chat, word, morph, captions, image) instead of treating them as errors. |
target | string | Where the file will be opened. google-slides fits text tighter; powerpoint and any keep a 12% margin for a substituted font. Default any. Ask the user if you do not know. |
draw_architecture
Draw an architecture or flow diagram in the chat. YOU write the diagram as Mermaid flowchart text (first line "flowchart LR" or "graph TD"; nodes like A[Web app], B[(Database)], edges like A -->|request| B). This tool lays it out and returns a finished diagram that the view draws inline (MCP Apps hosts; elsewhere the text fallback lists the nodes and edges). Call it with the Mermaid you wrote and show the result as it is: do not edit, re-encode or re-send the returned block, and do not pass it to render_surface. If it is refused, the message says what to fix; correct the Mermaid and call again…
| Parameter | Type | Description |
|---|---|---|
mermaid * | string | Mermaid flowchart text you wrote, for example: flowchart LR\n U[Shopper] --> G[API gateway]\n G --> O[Order service]\n O --> D[(Postgres)] |
title | string | Optional title shown above the diagram (plain text, 80 characters at most). |
draw_sequence
Draw a sequence diagram (who sends what to whom, in order) in the chat. YOU write it as Mermaid sequenceDiagram text (first line "sequenceDiagram"; "participant S as Server"; arrows A->>B: text for a call and B-->>A: text for a reply). This tool returns a finished diagram that the view draws inline (MCP Apps hosts; elsewhere the text fallback lists the messages). Call it with the Mermaid you wrote and show the result as it is: do not edit, re-encode or re-send the returned block, and do not pass it to render_surface. If it is refused, the message names the line and what to fix; correct the Mer…
| Parameter | Type | Description |
|---|---|---|
mermaid * | string | Mermaid sequenceDiagram text you wrote, for example: sequenceDiagram\n participant U as User\n participant A as Auth service\n U->>A: Log in\n A-->>U: Token |
title | string | Optional title shown above the diagram (plain text, 80 characters at most). A "title" line in the Mermaid is used when this is absent. |
drawio_open
Open a diagram you wrote in draw.io (diagrams.net). YOU write the diagram as mxGraph XML, the format draw.io reads; this tool checks it, and returns a link that opens it in the draw.io editor for the person, plus a .drawio file to download (kept for one hour). Nothing is drawn or laid out for you, so give every shape its x, y, width and height. The XML must be uncompressed and shaped like this (ids unique, every shape parent="1", edges name source and target ids): <mxGraphModel><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="a" value="Start" style="rounded=1;whiteSpace=wrap;html=1…
| Parameter | Type | Description |
|---|---|---|
xml * | string | The mxGraph XML: an <mxGraphModel> (or an uncompressed <mxfile> holding one). |
animate | boolean | Add moving dashes along the connectors (draw.io flow animation). Shows in the draw.io editor; default false. |
host | string | diagrams (default): open in app.diagrams.net. self: open in the editor hosted on a2uicatalog.ai, so the diagram never leaves this domain. |
polish | string | Visual finish using draw.io's own effects, layered on your styles without overriding any key you set: clean (default, nothing added), soft (rounded corners, gentle shadow, subtle gradient), glass (sof… |
restyle | boolean | Rewrite recognised services to draw.io's own icon styles and recognised groups (AWS: VPC, subnets, Region; Google Cloud: zones) to their group styles. AWS has icons for 350 services; for Google Cloud… |
style | string | Style pack. auto (default): if the diagram names AWS or Google Cloud services, check it against that vendor's conventions and report findings. aws or gcp: force a pack. none: no style checks. Name a s… |
title | string | Optional name for the downloaded file, for example "checkout-flow". |
unlink_slack_account
Revoke one or more Slack accounts' link to this reader's store, from the Workspace side (the reverse of the Slack-side `/a2ui unlink` command — see slack-compiler/DESIGN-identity.md, "many Slack -> one sub"). Removes that account's ability to post via render_reading_to_slack or resolve to this reader; everything else about the reader's account is untouched. Takes an array so the Workspace's multi-select can revoke a batch in one call.
| Parameter | Type | Description |
|---|---|---|
keys * | array | slack_key values from the Links view, "{team_id}:{user_id}". |
wall_calc
Compute a coursed block/brick wall specification — course and unit counts, weight, cost, mortar bags, a build-time curve across 1-6 builders, and load-bearing/height advisories. Pure arithmetic, no model call: a native-catalogue rebuild of the Gemini Enterprise "Wall Builder" demo, kept byte-for-byte correct against that original's formulas (see mcp-worker/test/test_wall_calc_parity.py). `country` is not an input — it is derived from block_id and returned in the result.
| Parameter | Type | Description |
|---|---|---|
block_id * | string | parpaing200/150 and brique are French standards; uk_brick/uk_block are UK standards. Determines unit dimensions, weight, and colour. |
height_m * | number | 0.2-20m, snapped to 0.2m steps. |
pattern * | string | running = half-unit stagger on alternate courses; stack = none. |
width_m * | number | 0.2-20m, snapped to 0.2m steps. |
builders | number | 1-6, snapped/clamped. Selects which point on the returned build_days_curve is build_days_selected. |
include_dpc | boolean | Adds a damp-proof-course length to the result. |
load_bearing | boolean | Triggers an advisory (not a block swap) if the chosen block is under the load-bearing weight threshold. |
whoami
Report who this connection is authenticated as. Answers two SEPARATE questions that are easy to conflate: which APPLICATION is connected (the OAuth client), and which HUMAN authorised it (the signed-in account, when the endpoint is one that can know). The public endpoint is anonymous by design and will say so — that is not an error, it is the free tier. Use it to check whether per-user features (saved profile, reading history) are available before offering them.
identify_model
CALL THIS FIRST, before any other a2ui-catalog tool, once per session. Declares your own model identity so this response can hand you capability-matched guidance up front — some models need simpler, judgment-free tools; skipping this just means you default to the full toolkit, including tools that require sizing/pagination judgment calls. HOW TO ANSWER — do not guess: - Copy your model name EXACTLY as stated in your own system prompt or developer context (look for phrasing like "you are powered by the model named X" or similar). Do NOT infer it from your training cutoff, your own behavior…
| Parameter | Type | Description |
|---|---|---|
model * | string | Your own model identifier, exactly as your system prompt states it, or "unknown" if not stated. Do not guess. |