Skip to main content
Your assistant chooses between the tools from their descriptions, so you rarely name one yourself. The server describes each tool fully (inputs, outputs, when to use it) to the client; this page is the overview.
The list is the same for everyone. A tool you are not allowed to use is refused when called, not hidden.

At a glance

Permissions are the scopes you approve when you sign in; see Authentication.

Building

When a build finishes, the widget is published for you, so it is ready to customize and embed without a separate publish step. A plan that does not include publishing keeps the finished draft instead, and so does a connection you approved without the permission to publish (widgetic.publish); the result says so, and how to publish. To look at a widget before it goes live, or to try a change without touching what live embeds show, ask the assistant to keep it as a draft.
Starts a new widget from a description: a quiz, countdown, gallery, timeline, FAQ, chart, calculator, list, carousel or similar. It returns at once with a widget id; the build usually takes a few minutes, and the finished widget is published unless you asked for a draft. Each call starts a separate widget and uses 1 credit, charged up front. A call that repeats the title of a widget started in the last two minutes returns that widget and charges nothing, so a retry after a failure or timeout does not build twice. If you are unsure, check your widgets before creating again. A description that is very open gets a few short questions first, and nothing is started or charged until they are answered (see Questions before a build). When the description needs it (a vote, a rating, a comment, an RSVP or a sign-up), the widget it builds keeps what visitors send, and you can read it with list_widget_data and get_widget_data. The widget goes to your default project unless you name one (see Where a new widget goes).
Offers the copy of a web page element that the Widgetic Chrome extension stored, from the temporary capture link it gave you (wgc_…, kept for 24 hours). The tool itself builds nothing: the model does not run, no credits are used, and nothing is added to your library or published, so the assistant does not follow it with a build card or wait for a build. The link is only looked up in Widgetic’s own store and never fetched over the network; an expired, revoked or unknown link is refused, and the assistant asks you to copy the element again. A change you ask for is not made: the copy is offered as it was captured.To make a widget from the copy, paste the same link into the Widgetic chat. There the widget is built like any new widget, so it uses 1 credit. When the copy shows a Widgetic widget that you are allowed to open, the build starts from that widget’s own code; for anything else on the web, the model draws the widget again from the copy.
The current state of one widget: still being built and how far along, draft ready, failed or cancelled, the link to its preview, and whether it is published and being served. For a published widget it also lists its copies (compositions) with their ids. While a build runs, the assistant checks it every 5 to 10 seconds.
Shows a widget as a card, with the build progress and then the live preview, and actions to revise, publish, customize or copy the embed code. Assistants that cannot display cards get the same state as text.
For changes that need new code: new features, a different layout, another visual style. It starts a new build from the latest draft (1 credit). When the build finishes, the new version is published again on its own, so every copy of the widget and every embed shows the new code, and the embed code does not change. Every earlier version is kept, and publish_widget can bring one back. To try a change without touching what live embeds show, ask for it as a draft: embeds then keep showing the last published version until you publish.
Cancels a build that is still queued or generating. A build that had not started gets its credit back. A build already being written gets it back only if the model had not begun to write, and it may still finish and leave a draft. It does nothing to a draft that is ready or a widget that is published.

Where a new widget goes

create_widget and create_widget_batch make the widget in this connection’s workspace: the one you chose when you approved the connection, or the one the API key was made for, whichever workspace you have open on widgetic.com. It is the same workspace the workflow, A/B test, translation, Brand Kit and media library tools use, so one connection never changes two workspaces. The assistant cannot pick another one: connect again for the workspace you mean. If you tell the assistant which workspace you mean, by its name, it checks that this connection works in it and starts nothing, and uses no credit, if it does not. A widget replicated from an element you copied with the browser extension is not made by one of these tools: you make it in the Widgetic chat, by pasting the extension’s link (see replicate_widget under Building). Every workspace works the same way:
  • Your role in the workspace has to allow making widgets there. If it does not, or if the workspace cannot be read just then, the call is refused before any credit is used, and the assistant says why.
  • The widget goes to the workspace’s default project, or to the project you name: a project of the workspace with that name is used, and a new one is made when there is none and your role lets you make projects. A name that cannot be used never stops the build: the widget goes to the default project and the assistant says so.
  • The workspace’s Brand Kit applies to the widget, and the credit comes from the workspace’s own credits; the workspace’s plan is read to see whether it allows the build.
  • The answer says which workspace and which project the widget went to.
A widget that already exists stays where it is: nothing here moves one between workspaces. The tools reach the widgets you made yourself, not those of your teammates.

What a build can start from

create_widget and revise_widget take more than a description. When you attach a file, the assistant passes it along; you do not name anything yourself. Whatever cannot be read refuses the whole call before any credit is used, and the answer says which file and why.
Up to 5 files per call: images, videos, PDF documents, data files (CSV, JSON or Excel .xlsx, each read for its columns and rows) and Markdown or text files (.md, .txt), whose words are read as your own brief, spec or copy. A widget loads a JSON file from its address; it cannot load a workbook, so for an Excel file the builder is given its first rows (a long sheet is better sent as CSV). Other kinds, such as the old .xls Excel format, are refused. A file reaches Widgetic only through a file service Widgetic trusts (ChatGPT’s, for example), never from an address typed into the chat; where your assistant cannot hand a file over that way, paste the text of a document into your description.

Several widgets at once

A landing page, a course or an event is rarely one widget. Say what you want to make and the assistant can suggest the widgets that would fit (a scoreboard, a schedule, a gallery, cards for the team, a countdown), ask a few questions if it needs them, and, once you have chosen, start all of them in one go, each in its own canvas. The same works for a workflow: describe it, and the assistant offers to build the widgets its steps need, and can save a draft workflow that chains them (see Workflows). In a client that can draw them, the suggestions appear as a list you tick and the questions as a form with one field for each; in any other client the assistant shows the same as text and asks in the chat. Ticking a widget only tells the assistant which ones you want: the list builds nothing and uses no credits, and the assistant starts the batch when you agree.
Tells you which widgets would fit what you want to make, before anything is built. You say the goal in your own words. If it is too open, the assistant puts up to three questions to you first, once, and asks again with your answers. The answer lists the widgets worth building, each with what visitors would see and a description ready to be built, and says which of them stand on their own. Where some of the widgets work as a journey a visitor goes through step by step (a welcome and then a form, a quiz and then its results), it also offers that as a workflow: what it does and which widgets it is made of, in order. So the assistant tells you: these widgets stand on their own, this workflow does this and is made of these widgets, and this other workflow does that and is made of those. You choose widgets and workflows, and the assistant says how many widgets that makes before it starts anything (a widget that two workflows share is built once). It suggests up to nine widgets unless you ask for more (twelve at most), the widgets of a workflow counting among them; when your goal needs more than that, the summary says what was left out. It also says plainly what a widget cannot do for your goal (orders, payments, logins, data that updates by itself). The suggestions come from a language model that reasons from your words, not from a fixed list, and your words are checked with a content moderation service and sent to that model. It builds nothing and uses no credits: the assistant shows you the suggestions and builds only the ones you choose. If the model cannot answer at that moment, the assistant proposes the widgets itself.
Starts the widgets you chose, up to 25 in one call, each as its own widget with its own canvas, the way create_widget starts one: 1 credit for each widget, charged when its build starts, and published when it finishes unless you asked for drafts (a workflow needs published widgets). The assistant tells you how many widgets and credits that is and waits for your yes first, and it passes the total you agreed to, so nothing is started if the widgets would cost more. The call returns at once with one entry per widget; the builds usually finish within a few minutes, and the assistant follows each one until it is ready. A title that repeats a widget started in the last two minutes is returned as it is and charged nothing, so a retry after a lost answer starts only what is missing; after those two minutes a repeat is charged again, so if you are unsure, check your widgets before starting the batch again. If one widget cannot be started, the ones before it keep building and stay charged, and the rest are not started and not charged. A batch can be started once a minute. Each widget can use up to 5 images from your media library; for attached files, the assistant starts that widget with create_widget instead.Two things you can ask for with the batch. A project: the widgets are filed in one project of yours with the name you give (a project you already have with that name is used, otherwise a new one is made, in this connection’s workspace, with the rules of Where a new widget goes); a name that cannot be used never stops the batch, the widgets then go to your default project and the assistant says so. A workflow: with a name for it, Widgetic saves a draft workflow that chains the widgets in the order you gave once every one of them is built and published, even if the conversation has closed by then. It is only a draft, made once, in the workspace you asked in: you publish it yourself, after trying it, and a widget that failed leaves it waiting (for up to three days) until you have it rebuilt. The name chains every widget of the batch, so the assistant passes it only when you chose exactly the widgets of one suggested workflow; for any other choice (two workflows, or a workflow beside other widgets) it starts the widgets without it and, once they are built and published, saves each workflow you chose with draft_workflow_from_widgets. If the draft is not made, draft_workflow_from_widgets makes it from the finished widgets.
Stops the builds of several widgets at once, for when you change your mind about a batch: the assistant passes the widgets the batch returned. A build still waiting to start is stopped and its credit is returned. A build already being written is stopped too, but its credit is returned only if the model had not begun to write, and it can still finish as a draft, so the assistant tells you which is which. Each widget gets its own answer (cancelled, nothing was running, or not one of your widgets) and one never stops the others. If a draft workflow was waiting for those widgets, it is cancelled too. It uses no credits.

Finding and publishing

All your widgets, only drafts that were never published, only published ones, or those whose name contains some words. It shows up to 8 at a time as a carousel and the assistant can ask for the next page.
Publishes the current draft (final build and upload), or an earlier version you choose, and returns the composition id and the published version. It can take up to a minute. Builds publish themselves unless you asked for a draft, so this is for a draft you kept or an earlier version you want back. It replaces the version existing embeds show, so the assistant calls it only after you agree. It needs a plan that includes publishing. Whatever you customized on the draft before its first publish goes live with it.
Takes a published widget offline without deleting anything: its embeds and share links stop showing it to pages that load them from then on, and it goes back to being a draft. Its versions, copies, embed codes, saved customizations and the entries visitors sent are all kept, and publish_widget brings it back with the same embed code; the answer names the version that was live, so the assistant can bring back that very one. A page that has already loaded the widget keeps showing it until it reloads: this recalls nothing that is already on a screen. It is refused, with the reason, while a running A/B test or a live or paused workflow uses the widget, because those would show a page that is not there; pause or stop them first. A build or a revision that finishes afterwards publishes the widget again, unless it was started as a draft. It uses no credits and needs the publish permission, and calling it on a widget that is already a draft changes nothing.
The versions a widget has been through, newest first, with a short title for each when it has one, whether it was ever published and which one is live now. The assistant uses the numbers to bring an earlier version back with publish_widget. It shows up to 20 at a time and can ask for older ones. It does not show what a version contains.

Customizing and embedding

Every content field, list and design control of a widget, with its current value and limits. The assistant reads this before changing anything. It works on a published widget and on a draft (a widget that was built and never published, or taken offline again), where it shows the values saved on the draft; a widget whose first build is still running has no options yet. The assistant names the widget by its id, or one published copy by its composition id, never both.
Changes what a widget shows or how it looks: texts, images from your media library, list items, colors, fonts and sizes. On a published widget it applies at once and embeds show the change. On a draft the change is saved on the draft, shows in its preview and goes live with the widget when it is published: the first publish copies the saved values into the copy it creates, and never over values a copy already holds. It uses no credits. Only options the widget offers are accepted, values are checked against its limits, and a list the assistant sends replaces the whole list while anything left out stays as it is.
Puts files from your media library on a widget’s content list: images, videos and data files beside each item. Files are matched by their name without the extension, so video1.mp4 and image1.jpg become one item, and a file the widget has no field for stays in the library only. Without apply the assistant gets the plan and shows it to you; with apply it writes the content list and the answer says which items changed. Files must already be in your library (save_to_media_library). Nothing is renamed or deleted, and it uses no credits.
The standard JavaScript embed code of a published widget, at a fixed size or fully responsive, plus a share link. For a page that cannot run a script, the assistant can give an iframe instead. If embeds are not being served right now because of your account’s state, the result says so.

Embed settings

Each copy of a widget (composition) has the settings of the Embed tab on widgetic.com: its display target (Site, Overlay or Mixed), where an overlay sits, what makes an overlay appear (the visitor leaving the page, or the page loading), a limit on how many times it shows within a number of hours, whether it shows on mobile and on desktop, and its size. A copy that has no settings of its own starts from the widget’s defaults: the settings you saved last on any copy of the same widget. So the next embed of the same widget begins where the last one ended, and a copy that already has its own settings keeps them. Embed settings lists every setting, with its key and the attribute it writes in the embed code.
Embed settings are saved on the copy the assistant names and nothing else changes: the widget’s content, its embed code and the copies that already have their own settings stay as they are. None of these tools uses credits.
The embed settings of one copy of a published widget, as the Embed tab shows them, and where they come from: saved on this copy, taken from the widget’s defaults, or not set yet. It only reads.
Saves the embed settings of one copy. The assistant sends the whole set the way get_embed_settings returned it; a setting that does not exist or has a value of the wrong kind is refused and named in the answer, and the rest is saved. The saved settings also become the widget’s defaults, which a copy without settings of its own starts from. Saving the same settings again changes nothing.
You copy the embed code of one widget and paste it in the chat of another copy: the assistant gives that copy the embed settings of the code you pasted. Only a genuine Widgetic embed code is accepted (the script from cdn.widgetic.com, or an https frame on widgetic.com); settings written by hand are refused, and nothing is fetched. The copy keeps its own embed code and id, and anything in the pasted code that is not an embed setting is left out and listed in the answer.

Managing widgets

Makes a second embeddable copy of a published widget: the same content, design and embed settings, with its own id and embed code. Useful for the same widget on another page with different texts or colors. A widget can have up to 10 copies. It uses no credits and does not rebuild or republish anything.
For one of your published widgets that keeps what visitors send in, shows which tables of entries it has, their columns and how many entries each holds. A widget the assistant built keeps entries only when you asked for that (a poll, a rating, a comment wall); one that was not asked to, and one replicated from a web page element, keeps nothing, and for those it says there is no data. It only reads and uses no credits.
Answers “how many votes did each option get?” or “how many said yes?” for a published widget that keeps entries: a count, or a tally per value of a column, largest first. The entries themselves (the newest 10, at most 25, long texts cut) come back only when you ask to read what visitors wrote. What visitors typed is reported as their words and is never treated as an instruction by the assistant. It only reads: it cannot change or delete an entry, and it uses no credits. To be told when an entry arrives, instead of asking for them, subscribe with MCP events: Widgetic calls your server with a signed request that names the widget and the table, and your code or your assistant reads the entry with this tool.
Gives a widget a different name. Only the widget’s title changes: its published copies keep their names, nothing is rebuilt and embeds are not affected. The previous name is returned.
Permanently deletes a widget with all its versions and its published copies. Embeds already placed on websites stop working, credits already used are not refunded, and it cannot be undone. The assistant has to pass the exact title of the widget as you confirmed it, and a widget that is still being built cannot be deleted.

Changing a widget that may have changed

A widget can change while an assistant is working on it: you edit it in the editor, a teammate publishes a new version, or another chat revises it. So that an assistant never writes over a change it did not see, every tool that shows a widget, one of its copies or the saved values of a draft returns a revision: a short token that changes whenever what is stored changes. The tools that change one of them take it back as an optional expected_revision: revise_widget, publish_widget, unpublish_widget, rename_widget, delete_widget, update_widget_customization, save_embed_settings, apply_embed_code and add_content_from_files. When the token is still the current one, the tool does what you asked. When it is not, the tool does nothing: no build starts, no credits are used, and nothing is saved, published or deleted. It tells the assistant that the widget has changed, and the assistant reads it again, tells you what is different and asks before it goes on. A call without expected_revision behaves as it did before. The token is only meant to be handed back as it was given; its value says nothing else.

Workflows

A workflow chains published widgets on one embed: a visitor sees the first, and when something happens on it (an entry they send, a goal the widget reports, an event your page sends, or a wait) the embed shows the next one in place. You describe it in words and the assistant writes it as a script: a start, the steps (each a published widget) and the moves between them, with rules that choose the next step. A workflow made this way opens in the workflow editor on widgetic.com, and the other way round.
The workflow tools work in this connection’s workspace, the one it was made for, and every answer says which. The assistant cannot pick another one: connect again for the workspace you mean. Workflows need a Teams account, or a partner account; on another plan the tools say so in one plain sentence and change nothing. None of them uses credits and none builds a widget: the widgets must already be published (see Finding and publishing); to make several first, see Several widgets at once.
The workflows of this connection’s workspace, newest first, up to 20 at a time: the name, the state (draft, live, paused or archived), whether the saved draft has changes visitors do not have yet, how many widgets it shows and how many visitors started it. Archived workflows are left out unless you ask for them. It only reads.
Which of your published widgets a workflow can use: the id to use as a step, the tables visitors can add entries to (with the columns a rule may read) and the actions the widget reports, such as a click. A move can wait only for what is listed here. Private columns such as an email or a phone number are never listed. It only reads.
Widgetic’s own patterns for workflows: capturing leads, a quiz that sends each visitor on to a different widget, a product launch, a follow-up after a click, and how to name and branch steps. The assistant reads the ones that fit what you asked for (a topic or a few words ranks them; with none it gets the most common ones) before it suggests widgets or drafts a script. It reads a fixed guide, calls no language model and uses no credits.
One workflow as a script, in exactly the shape save_workflow takes: the start step, the steps and the moves between them, with the rules that choose the next step. It also gives the state, the revision, any problems and the names of the widgets. For a published workflow it returns the embed code and the snippet for events your page sends, and, when asked, how many visitors reached each step in the last 30 days. A draft drawn in the editor that a script cannot express is reported as unreadable, with the reasons. It only reads.
Creates a workflow (it needs a name) or replaces the draft script of one you name, starting from the revision the assistant read. If the draft changed since, in the editor or by another call, nothing is saved and the assistant is told to read it again, so a change made elsewhere is never overwritten. The answer lists any problems in plain words. Saving changes only the draft: nothing reaches visitors until publish_workflow. Every call without a workflow id creates another workflow, so after a failed call the assistant checks list_workflows before it tries again.
Saves a draft workflow from widgets you already built: one step for each widget, in the order the assistant passes (the order visitors should meet them), under the name you gave. A step leads on to the next when its widget keeps entries (a visitor sends one) or reports an action (a click, a choice); a widget that offers neither is saved with no way on and the assistant asks you what should take visitors on, then sets it with save_workflow. A workflow holds up to 25 blocks, so a chain of more than 13 widgets cannot lead on from every step: the assistant is told which. Every widget must be built and published; if not, nothing is saved and the answer says which are not. It never publishes (visitors see nothing until publish_workflow), changes nothing that exists, and uses no credits.
Plays up to 20 visitor events (an entry added to a table, an action the widget reports, an event your page sends, or a wait that is over) through the saved draft, or through a script that is not saved, and says where the visitor ends up and why. Nothing is saved, no visitor is moved and no entry is created.
Checks the saved draft and makes it the version visitors get on embeds. The assistant passes the revision it last read: if the draft changed since, nothing is published. Problems are listed in plain words and nothing is published until there are none. The result returns the embed code and, when the workflow waits for events from your page, the snippet that sends them. It replaces the version that is live now (every earlier version is kept), so the assistant calls it only after you agree. A paused workflow stays paused. It needs a connection approved with the publish permission.
Pauses a live workflow (its embeds then show only the first widget and move no visitor on), resumes a paused one, archives a workflow to set it aside (it leaves the list and nothing is deleted) or brings an archived one back (a published one comes back paused, a never-published one as a draft). Every change can be undone. Resuming puts the workflow back in front of visitors, so it needs a connection approved with the publish permission.

Media library

Saves images (PNG, JPEG, WebP, GIF, HEIC, SVG), videos (MP4, WebM, MOV), audio (MP3, WAV, OGG, M4A), PDFs or data files (CSV, JSON, Excel .xlsx) you attached or linked. Links must be HTTPS and are not followed through redirects; files up to 250 MB each, an SVG up to 2 MB, JSON and Excel files up to 10 MB. An SVG is rewritten from a list of safe elements before it is stored, so scripts and other active content are removed. A JSON or Excel file is read before it is saved and kept only if it holds a table: an Excel file is read from its first sheet (the values it stores, never a formula), and because a widget cannot load a workbook the builder is given its rows. They go into the folder you name (default “Assets”) and count against your storage allowance. Files that cannot be saved are listed with the reason; the others are still saved.
Browses what is already saved, as a carousel of thumbnails you can filter by folder, kind or name, and gives the file ids a widget can use. A file that widgets were given says which (how many, and the most recent few by name). Widgetic has recorded that only since it began keeping track, so a file without it may still be in use.
Renames files in your media library, moves them to another folder, or both: up to 20 changes in one call, each naming a file by the id list_media_library gave. A name keeps the file’s extension, so the assistant sends it without one, and a folder is made by naming it. Only the name and the folder change: the file’s address does not, so widgets that already use the file keep showing it. Each change stands alone: one that cannot be made (no such file, an empty name) is listed with its reason and the others are still made. The result shows each file as it is now and as it was, so a change can be put back, and a request that changes nothing writes nothing. It works on the files of this connection’s workspace only and uses no credits.
Permanently deletes one file from your media library and gives its space back to your storage allowance. It cannot be undone, and the assistant has to pass the exact file name as you confirmed it. A widget that loads the file from its address stops showing it, so Widgetic first looks for the widgets that use it (the record of builds and customizations, and the values saved in your widgets and Brand Kit): a file that is used is refused, with the widgets’ names, and so is a file whose use could not be checked in full, unless you say you still want it deleted. Widgetic cannot read the code of a widget built before it kept that record, so “no widgets found” never means that none uses the file. It works on the files of this connection’s workspace only and uses no credits.

Brand Kit

A workspace’s Brand Kit is the look every new widget in it starts from: a palette, a font for each of title, subtitle, body and caption, a corner radius, and a few style notes. It belongs to the workspace and is the same wherever you set it (the Brand Kit page on widgetic.com, the API, the CLI or these tools). These tools read and change the Brand Kit of this connection’s workspace, the one a widget made through the connection starts from, and no other. Font files and icons are added on widgetic.com.
Shows the Brand Kit of this connection’s workspace: the colors (name, hex and the role each plays), the font of each role, the corner radius, its style notes and the names of the icons uploaded to the workspace. When you have saved none it shows Widgetic’s default look and says so. It also lists any text color that is hard to read on the background it is paired with. It changes nothing and uses no credits.
Changes the parts you ask for and leaves the rest as it is: the colors (the whole palette, so the assistant reads it first and sends every color to keep), the font of any role, the corner radius (0 makes every corner square, 12 is the usual roundness) and the workspace’s style notes (an empty note removes them). It says which parts are different now and what each was before. Widgets already built or published keep their look until they are revised; the next widget built or revised uses the new look. It uses no credits and does not upload font files or icons.

A/B tests

An A/B test splits visitors between two to four of your published widgets on one embed and measures which version reaches a goal you choose. You set it up as a draft, start it when you are ready, read how it is doing, and stop it with an optional winner. A test made here opens on widgetic.com, and the other way round.
The A/B test tools work in this connection’s workspace, the one it was made for, and every answer says which. The assistant cannot pick another one: connect again for the workspace you mean. A/B testing needs a Teams account, or a partner account; on another plan the tools say so in one plain sentence. None of them uses credits. Saving a test changes only the draft: nothing a visitor sees changes until the test is started. Starting a test needs a connection approved with the publish permission. While a test runs, its embed tag shows the versions; when it is paused or stopped the tag shows no widget, so after you stop with a winner you put that widget’s own embed code on the page.
The A/B tests of this connection’s workspace, newest first, up to 20 at a time: the name, the state (draft, running, paused, completed or graduated), the goal, how many versions it has and how many days ago it started. You can filter by state, search the name, and ask for the next page with the cursor. It only reads and does not show how a test is doing.
What a test can use before you make one: the goals (each says whether the embed counts it automatically or only when the widget reports it) and your published widgets that can be a version (each lists the goals it reports). Look up particular widgets by id, or search by name; widgets come newest first, up to 20 at a time, with a cursor for more. It only reads.
One A/B test: the goal, the versions with their share of traffic, the settings, the results so far (visitors, how many reached the goal, each version’s rate and its lift over the control) with a recommendation (continue, pick a winner or stop), the winner once there is one, and the embed code. Visitors see the versions only while the test is running. A draft has no visitor numbers yet. It only reads.
Without a test id, creates a new draft (a name, a goal and two to four versions are required; each version is one of your published widgets by composition id, optionally named and with a share of traffic; leave out the shares for an even split). With a test id, changes a draft’s name, description, goal or settings. Saving shows nothing to visitors: a test starts only with set_ab_test_state. The versions of a saved test cannot be changed here, and a test that has already started cannot be edited. The assistant should read get_ab_test_options first. It uses no credits.
Starts a draft or a paused test (start), pauses a running one (pause), or stops a running or paused one for good (stop, with winner_version_id when there is one). Starting splits real visitors between the versions on every page that carries the test’s embed code. Stopping cannot be undone: a stopped test cannot be started again. When you stop with a winner, put that widget’s own embed code (get_embed_code) on the page in place of the test’s tag, because a stopped test’s tag shows no widget. Asking for the state a test is already in changes nothing. Starting needs a connection approved with the publish permission. It uses no credits.

Translations

A translation makes one of your widgets available in several languages on one embed: each language is its own copy, and visitors see the copy that matches their browser’s language while the translation is active. You make a translation, add more languages if you need them, and activate it when you are ready. A translation is made by a language model: the widget’s text, and the text inside its design, is sent to it to be translated, and the assistant is asked to tell you so before it starts one.
The translation tools work in this connection’s workspace, the one it was made for, and every answer says which. The assistant cannot pick another one: connect again for the workspace you mean. Translations need a Teams account, or a partner account; on another plan the tools say so in one plain sentence. None of them uses credits. One call translates up to five languages; a translation holds at most twenty languages in all, the original included. Nothing is shown to visitors until set_translation_state activates the translation. Activating needs a connection approved with the publish permission. The widget must be one you made yourself.
Always translate is a setting of the workspace, not of one translation: turn it on once, choose up to 20 languages, and every new widget is translated into them without anyone asking; ask for the widgets you already have to be translated as well and the ones with no translation yet follow. From then on, a change to an original updates all its translations, and edits made by hand in a translated copy are replaced. Any member of the workspace may turn it on. Even with it off, the assistant can offer the languages you chose last time.
The translations of this connection’s workspace, newest first, up to 20 at a time: the name, the state (making, ready, active, paused or unfinished), the original language, the languages it holds and the widget it was made from. You can filter by state, search the name, and ask for the next page with the cursor. It only reads.
Which languages a widget can be translated into (code, English and native name, region and whether it is one most translations start with) and the limits: how many languages one call translates and how many a translation holds in all. It also gives the languages you chose last time in the workspace, and whether Always translate is on and in which languages. It takes no input and only reads.
One translation: its state, the original language, and for each language whether its copy is ready, still being translated or failed, with the widget of each copy; the languages being added right now; and the embed code, which shows each visitor their language only while the translation is active. It also says whether the translation was made by hand or by Always translate, whether it is up to date, being updated or failed to update, and when it was last updated from its original. It only reads.
Translates one of your widgets into other languages: it makes a copy of the widget for each language you name and groups them as one translation. Give the language the widget is written in now and one to five languages to translate into; the original is kept as it is. The widget’s text is sent to a language model to be translated, so the assistant should tell you that before it calls. The call waits for under a minute and then answers even if some languages are still being translated; check them with get_translation, and add more later with add_translation_languages. The new translation is ready but not shown to visitors until set_translation_state activates it. It uses no credits.
Adds one to five more languages to a translation you already made, or tries again for a language that failed or was left unfinished. The widget’s text is sent to a language model to be translated, so the assistant should tell you that before it calls. A language that is already there and ready is skipped. A translation holds at most twenty languages in all. The call waits for under a minute and then answers even if some languages are still being translated; check them with get_translation. Visitors get a new language only while the translation is active. It uses no credits.
Whether Always translate is on for the workspace, the language the widgets are written in and the languages they are translated into, how translating the widgets that had no translation is going (waiting, running, finished, cancelled or failed, with how many are done), how many widgets still have none, and the languages you chose last time (the language the widgets are written in included). It only reads.
Turns Always translate on or off for the workspace, sets its languages and, when you ask, also translates the widgets that have no translation yet. While it is on, every new widget is translated into those languages, and every change to an original updates all its translations: edits made by hand in a translated copy are replaced. Any member of the workspace may turn it on. It takes at most 20 languages, and not the language the widgets are written in; that language is set with original_language (a code from get_translation_options). The widget’s text is sent to a language model to be translated, so the assistant tells you before it calls. It uses no credits, and the same call again changes nothing.
Updates one translation now from its original, as Update now does on widgetic.com: every language copy is translated again and edits made by hand are lost. The answer says the update was queued; get_translation shows when it is done. The widget’s text is sent to a language model to be translated, so the assistant tells you before it calls. It uses no credits.
activate makes the embed show each visitor the language of their browser; pause takes it away again. A translation can be activated once it is ready, or when it is paused; not while it is still being made. Nothing is deleted and each action can be undone. Asking for the state a translation is already in changes nothing. Activating needs a connection approved with the publish permission. It uses no credits.

Account

The account the connection acts for: name, email and nickname when available, and an opaque id that stays the same across reconnects. Useful to confirm the connection works and whose widgets will be created. It cannot look up anyone else.
The credits available in this connection’s workspace (after those held for builds in progress) and how many builds they cover, the storage use and limit, how many widgets there are and how many are published, whether the workspace’s plan includes publishing, and whether embeds are being served. A workspace’s credits are spent in that workspace only. A figure that cannot be read at that moment is reported as unknown, never as zero. It uses no credits.

What the tool flags mean

Each tool declares, for assistants that show a confirmation before acting, whether it only reads, whether it can change or replace something that exists, and whether it interacts with the outside world.