autoflow-agent

v3.0.18
autoflow-agent Checked 4 days ago Published 11 days ago

Let Claude Code, Codex, Antigravity or any MCP client control the AutoFlow Chrome extensions (Queue Manager and Studio).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

autoflow_status AutoFlow: what is connected

Which AutoFlow extensions (Queue Manager, Studio, Motion) are connected to this agent server, their versions, and how to connect one that is missing. Call this first.

autoflow_watch AutoFlow: everything as it happens

Every event from every AutoFlow extension and browser, the moment it happens: queue clips sent, generating, DONE (Flow finished it; "downloaded" brings the file) and FAILED (with Flow's reason, its kind and what to do), retries and held prompts; characters being made, READY or FAILED; Studio steps started, done, failed and waiting for your decision; and problems (a minimized Flow window, an account Flow is limiting, no credits, a run that stopped). Use it instead of asking for status: call it in a loop, passing back the "since" it returns; it answers the moment something lands, or after timeou…

ParameterTypeDescription
browserstringOnly this browser (its name, account or id).
kindsarrayOnly these kinds, e.g. ["done","failed","problem","character-ready","step-failed","waiting"].
productstring
sinceintegerThe "since" from the previous call; omit the first time.
timeoutSecintegerLongest wait for a new event. Default 120.

autoflow_guide AutoFlow: how to use it well

The full AutoFlow guide for agents: what costs credits, making videos from a script, settings, characters, clips that continue each other, what to do when Flow refuses a prompt, and Studio plans. Read it before a first run.

autoflow_use AutoFlow: choose a browser

When several browsers (Chrome profiles or Multilogin profiles, usually one per Google account) run AutoFlow, send this session's calls to one of them by default: its name, its Google account, or its browser id, as autoflow_status lists them. Only this agent session is affected. Any tool can still name another with "browser". Leave browser empty to clear the choice.

ParameterTypeDescription
product *string
browserstringThe browser's name, Google account or browser id.
extensionIdstringOlder form: an extension id. Every copy of a store build shares one, so prefer browser.

queue_status Queue: status

The Queue Manager's state: signed in or not, today's prompt allowance, open Google Flow tabs, and the queue that is running, if any.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

queue_get_settings Queue: read settings

The settings new queues are made with: video or image, Ingredients or Frames, model, orientation, generations per prompt, duration, run mode (full, flow or lite: the panel's own runs), waits, downloads. Also lists the allowed values for each. Every queue an agent adds or runs is Agent mode (extension 11.12+), whatever automationMode says here.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

queue_update_settings Queue: change settings

Change the Queue Manager's saved settings (the ones its panel shows). Only the keys given change. Values are checked against what the panel offers; queue_get_settings lists them.

ParameterTypeDescription
settings *objectFor example {"model":"Veo 3.1 - Fast","orientation":"portrait","automationMode":"flow"}
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

queue_list Queue: list queues

Every queue in the Queue Manager, with its status and how many prompts are waiting, done and failed.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

queue_get Queue: read one queue

One queue in full: each prompt's text, status, error and output files, and the settings it runs with. A prompt Flow refused carries lastFailure: the reason, its kind (policy, unusual-activity, quota, other) and what to do about it. An Agent-mode queue also lists held (waiting for your new words) and unconfirmed prompts by number, and once ended a result: completed, stopped or completed_with_gaps.

ParameterTypeDescription
queueId *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

queue_add Queue: add a queue

Make a new queue of prompts, as the panel's "Add to queue" does. Nothing is generated until queue_run. Settings are the saved ones (queue_get_settings) with any overrides given here. Checks today's prompt allowance first. Every queue runs in its own new Flow project, made when it first runs. Characters from the Character maker that a prompt names are borrowed into it with their face and voice (video with references only), and their description is added when set to. Every queue an agent adds is Agent mode (extension 11.12+; Full, Flow or Lite asked for still gets Agent mode, and says so): it ru…

ParameterTypeDescription
prompts *array
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
settingsobjectOverrides for this queue only, same keys as queue_update_settings. The run mode is always Agent mode.

queue_run Queue: run a queue

Start a queue on Google Flow. Spends Flow credits and counts against the AutoFlow plan, exactly like pressing Run. Needs a Google Flow tab open and signed in. It always runs in Agent mode (a queue made in the panel in another mode is switched, and says so), and never falls back to another mode: when the agent runs are used up (5 a day on a free account) the run is refused, saying why.

ParameterTypeDescription
queueId *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

queue_control Queue: pause, resume, stop, skip or retry

Control the running queue: pause, resume, stop, skip (the current prompt) or retry_failed (re-send the failed prompts; spends Flow credits).

ParameterTypeDescription
action *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

queue_replace Queue: give failed prompts new words

Spends Flow credits (it runs the queue again unless run is false). Rewrites prompts that have no video yet, in the same prompt numbers, as the panel's Replace does: the Library keeps its order and the old words stay known as that prompt's. Read why each failed first (queue_get: lastFailure). Reword a "policy" refusal — soften violence, weapons, blood, sexual content, real people, brand names. An "unusual-activity" failure is Flow limiting the account, not the words: the queue stopped itself; do not reword or re-send on that browser. Wait a few hours, then queue_control retry_failed. Keep eve…

ParameterTypeDescription
prompts *array
queueId *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
runbooleanRun the queue straight after (default true).

queue_download Queue: download its videos

Download a queue's finished videos (or images) from its own Flow project: AutoFlow opens that project in the Flow tab, scans it, numbers each video by the queue's prompts, and downloads them into Downloads/AutoFlow/<queue name>, prompt 1 first in the list. Counts against today's download allowance; spends no Flow credits. Works for any queue that has run since AutoFlow 11.3 (queue_get shows its flowProject link). Not while a queue runs. An Agent-mode run already saves every clip at its end: do NOT call this after one. It leaves out prompts that already have their file (extension 11.13+), so it…

ParameterTypeDescription
queueId *string
againbooleanSave every finished one again, even those already saved.
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
promptsarrayOnly these prompt numbers (from 1), saved again even if they have a file. Default: every finished one without its file.

queue_watch Queue: watch clips as they finish

Follow a queue while it runs: returns as soon as something new happens — a prompt sent to Flow, generating, DONE (with Flow's media id and the downloaded file), FAILED (the reason, its kind and what to do), being sent again (retry n of 3), reworded, or the queue finished / paused / stopped — with a tally. Pass back the "since" it returns to get only newer events; call it in a loop until "finished" is true. Without "since" it returns every event the queue has had so far, at once. You can act on a failed prompt while the rest runs (read its failure; queue_replace once the queue has stopped).…

ParameterTypeDescription
queueId *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
sinceintegerThe "since" from the previous call; omit the first time.
timeoutSecintegerLongest wait for a new event. Default 300.

queue_wait Queue: wait for a queue

Wait until a queue stops running (finished, stopped or paused), or until the timeout, then say how it went, with every clip's moment during the wait (events). To hear of each clip as it finishes, use queue_watch.

ParameterTypeDescription
queueId *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
timeoutSecintegerDefault 600.

queue_delete Queue: delete a queue

Delete a queue from the Queue Manager. Not a running one. Generated videos stay in Flow.

ParameterTypeDescription
queueId *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

queue_character_list Characters: list

The Character maker's characters (name, status, description, voice, the Flow project each lives in), Flow's 30 voices with a description of each, and the image models. A "ready" character can be named in prompts.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

queue_character_write Characters: write one with AI

From a short idea ("a grumpy old fisherman"), an AI writes a full character: name, what they look like, personality, a Flow voice and how it performs. Needs a Gemini key in the panel's Settings → AI Assist. Saves nothing: review it, then queue_character_save. You can also write the character yourself and skip this.

ParameterTypeDescription
idea *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
namestring

queue_character_save Characters: save

Create or change a character in the Character maker (matched by id, else by name). Nothing happens in Flow until queue_character_make. A character already made keeps its look and voice; only personality and addToPrompts change.

ParameterTypeDescription
addToPromptsbooleanAdd the description to every prompt that names the character (default true).
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
descriptionstringWhat the character looks like: age, face, hair, build, clothing, colours, style. Flow draws the portrait from it.
fullBodybooleanAlso draw a full body in Flow after the portrait ("Create body"): one more image, about 20 s. Off unless the user asks.
idstring
imagestringA photo of the character (a local png, jpg or webp file). The face is uploaded instead of drawn: making it is free, and the description becomes optional.
imageModelstringFor the portrait. Lite is the cheapest.
namestring
performancestringHow the voice performs ("slow, warm, a little hoarse"). Makes a custom voice in Flow.
personalitystringHow they act and talk.
samplestringA line the custom voice says in its preview.
voicestringOne of Flow's voices (queue_character_list lists them).

queue_character_create Characters: create and make in one step

Spends Flow image credits (one portrait) unless an image is given. Saves a character and makes it in Flow in one call: Flow draws the face from the description, or uploads the photo in `image` (free), then AutoFlow names it and gives it its voice. About a minute. When it returns, prompts that say the name get the character (queue_add, video with references). The same fields as queue_character_save; name, voice and a description or an image are needed. A free account keeps 3 characters; a 4th is refused until one is deleted (queue_character_delete).

ParameterTypeDescription
name *string
voice *stringOne of Flow's voices (queue_character_list lists the 30 with a description of each).
addToPromptsboolean
againbooleanMake it even though a character of this name was made in Flow before and only removed from AutoFlow (that one is still in Flow: queue_character_import brings it back for free).
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
descriptionstringWhat the character looks like: age, face, hair, build, clothing, colours, style. Needed unless an image is given.
fullBodybooleanAlso draw a full body after the portrait (Flow's "Create body"): one more image. Off unless the user asks.
imagestringA photo of the character (a local png, jpg or webp file), uploaded as its face instead of drawing one: free.
imageModelstringDefault Nano Banana 2 Lite, the cheapest.
performancestringHow the voice performs; makes a custom voice in Flow.
personalitystring
samplestring

queue_character_make Characters: make in Flow

Spends Flow image credits (one portrait). Makes the character in Flow from its description, with its name, personality and voice, in the user's "AutoFlow Characters" project. Takes about a minute and uses the Flow tab, so not while a queue runs. Made once; every queue borrows it after.

ParameterTypeDescription
againbooleanMake it although one of this name is already in Flow (see queue_character_create).
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
idstring
namestring

queue_character_import Characters: import from Flow

Add the characters of the Flow project open in the Flow tab to the Character maker, ready to use in prompts. Nothing is made or changed in Flow. A free account keeps 3 characters: an import that would go past that is refused.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

queue_character_delete Characters: remove

Remove a character from AutoFlow, and move it to Flow's bin too (Flow's Bin can restore it). A free account keeps 3 characters: deleting one is how to make room for another.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
idstring
namestring

queue_logs Queue: activity log

The Queue Manager's recent log lines, newest last. Use it to see why a prompt failed.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
limitinteger

studio_status Studio: status

Studio's state: the open workflow, whether it is running, and each node's status.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_plan_guide Studio: how to write a plan

Read this before studio_build. Studio builds workflows from a PLAN — a small JSON list of steps — and works out the nodes, wires and layout itself. Returns the node manual and the plan format.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_check_plan Studio: check a plan

Check a plan without changing the canvas. Returns every problem, in words, or that it is fine.

ParameterTypeDescription
plan *object
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_build Studio: build a workflow from a plan

Check a plan, compile it and open it on the canvas as a new saved workflow. Generates nothing; studio_run does. Refuses a plan with problems and lists them.

ParameterTypeDescription
plan *object
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
namestring

studio_get_workflow Studio: read the workflow

The open workflow: every node (id, type, label, prompt, model, status, error, result) and every wire.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_list_workflows Studio: saved workflows

The workflows saved in Studio, newest first.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_open_workflow Studio: open a workflow

Open a saved workflow on the canvas (studio_list_workflows gives ids), or a new blank one with id "new".

ParameterTypeDescription
id *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_list_templates Studio: templates

Studio's ready-made workflows.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_open_template Studio: open a template

Open a template on the canvas as a new saved workflow.

ParameterTypeDescription
id *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_set_node Studio: change a node

Change fields on one node of the open workflow, e.g. {"text": "..."} on a prompt node, {"model": "Veo 3.1 - Fast"} or {"enabled": false} on a generate node. studio_get_workflow shows each node's fields. Status and results cannot be set.

ParameterTypeDescription
data *object
nodeId *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_run Studio: run the workflow

Run the open workflow, exactly like pressing Run: counts one Studio run against the plan, and every generate node spends credits on the site it runs on (Google Flow, ChatGPT, Gemini…). Those sites must be open and signed in. By default the run pauses on a failed step for your decision (studio_wait returns, then studio_decide).

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
reviewstringHow you follow the run. "errors" (default): it pauses on a failed step and waits for studio_decide. "every": it also pauses after each finished generation, for studio_look and studio_decide. "off": ru…

studio_retry Studio: retry failed nodes

Re-run failed nodes (all of them, or the ids given) and whatever waited on them, keeping finished results. No extra Studio run is counted; each retried generation spends credits.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
nodeIdsarray
reviewstringHow you follow the run. "errors" (default): it pauses on a failed step and waits for studio_decide. "every": it also pauses after each finished generation, for studio_look and studio_decide. "off": ru…

studio_decide Studio: decide on the paused step

Answer a run that paused for you (studio_wait shows "awaiting"): continue (accept it and go on; a failed step stays failed and what depends on it is skipped), redo (generate that step again — change its prompt or model first with studio_set_node; spends credits), skip (set it aside: nothing after it runs on it), or stop.

ParameterTypeDescription
decision *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
nodeIdstringThe step the run is waiting on (a check that you answer the right one).

studio_look Studio: look at a step

See one step's result: an image as a picture, a clip as its first and last frames, a written text as text, with the prompt that was sent and any error. Use it before deciding on a paused step, or to check any result.

ParameterTypeDescription
nodeId *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_download Studio: download the results

Save results into Downloads/AutoFlow Studio/<workflow name>/ with a manifest.json (each file's step, platform and the prompt it was made from). By default the FINAL results: finished steps nothing else in the workflow uses. all: true saves every finished step (written prompts as .txt); nodeIds saves those. Counts only files Chrome really saved in that folder. No credits.

ParameterTypeDescription
allboolean
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
nodeIdsarray

studio_control Studio: stop, pause or resume

Stop, pause or resume the run in progress.

ParameterTypeDescription
action *string
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_wait Studio: wait for the run

Wait until the run in progress ends, or pauses for your decision (then it returns "waitingForYou": the step, why, and its error and failure kind), or until the timeout; then report each node's status and results, each failure with its kind and advice.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
timeoutSecintegerDefault 900.

studio_outputs Studio: results

What each node produced: video and image links, written text, or the error that stopped it.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.

studio_logs Studio: activity log

Studio's recent log lines from every site it drives, newest last.

ParameterTypeDescription
browserstringWhich browser (Chrome profile / account) to use, by the name autoflow_status lists. Needed when several browsers are connected, unless autoflow_use chose one for this session.
limitinteger