show and search, plus access to the running app’s actions.
An action is a complete request, such as reading a document or preparing an image. The editing
verbs are individual changes sent inside apply or propose_flow_patch; see
node changes, reference and stack changes, and
Flow details and automations.
This page covers the current desktop bridge action surface. Availability depends on the running
build, permission level and configured services. Read the actual list with flowjoe-cli actions.
get_app_state, query_history and read_history expose current app facts and retained history.
Saved history is separate from this command’s recent-change and undo history. Read access includes
observational actions, including automation status and app help; it does not grant Flow edits.
The editing catalog can still be inspected with Read access, even though applying its verbs requires Propose access.
The CLI does not expose MCP resource listing/reading as a command; open_reference supplies app help.
Catalog snapshot and permissions
On 2026-10-19, real CLI discovery against a fully provisioned desktop (history, repository, scheduler and help services present) returned 27 actions with Propose access and 20 with Read access. Both profiles included 19 observational read tools; Read’s extra action wasupload_attachment, which prepares connection-local input rather than reading existing content.
Propose also exposes editing, staging, generation, file import, navigation, player control and undo.
A desktop without one of those services lists fewer actions. These action totals are separate from
the 62 editing verb names returned by describe_patch_protocol: 61 distinct changes, because
setNodeReadOnly is an older name for setNodeFrozen. That catalog includes editRepoFileText.
Read can inspect the editing catalog but cannot apply its changes.
The editing catalog includes the three virtual-slot verbs: makeVirtualSlotReal, removeVirtualMaster and addVirtualSlot. In
get_flow_snapshot, a virtual slot carries virtualSlot: true and its master’s place (virtualOf, masterNodeId,
masterSlotIndex) instead of content, or virtualMaster: "hidden_from_joe" when the master can’t be seen; a master
carries virtualCount and virtualPlaces. Read actions aimed at a virtual slot read its master and say so in readFrom.
A second measurement later on 2026-10-19, after Joe’s workflow hand-offs and picture search landed, returned the same totals, and a direct MCP connection was offered exactly the same actions as the CLI at both access levels.
Observational tools in both profiles were get_flow_snapshot, describe_patch_protocol,
read_media_blob, get_app_state, query_history, read_history, get_node_neighbors,
search_flow, get_island_content, read_item_content, read_media_content, list_joe_memories,
list_scheduled_tasks, open_reference, list_recent_changes, get_approval_outcome and
read_chat_attachment, read_repository and read_repo_file. Uploads, staging, generation, navigation, player actions and mutations are
not counted as observational reads. These are dated measurements, not permanent limits: discover
your running app’s catalog before scripting. Native Joe, external MCP and guests can have different
services and authority; an owner endpoint does not establish guest or shared-Flow support.
Transcription and the built-in browser toolbar actions were added after the dated catalog
measurements above. Discover the running catalog for current totals.
Read shared-call recording status — read_shared_call_recording_state
At Read or Propose, read_shared_call_recording_state accepts {} for the owner’s current desktop Flow. It returns only autoRecord (the Flow’s saved Auto-record calls setting) and recordingActive (whether owner recording is active now, false when idle). It does not change the setting or start or stop recording. It never returns call, roster, credential or recording content.
Open the owner’s Call panel
At desktop-owner Propose, ask Joe or a connected assistant to open the Call panel for the current shared Flow by passing exactly{"workflow":"open_shared_call_panel"} to request_app_workflow. Each request waits for your fresh click. It opens only the currently mounted owner Call panel and returns {ok:true,status:"opened"} without call status or roster data. It does not start, join or end a call or authorize microphone, camera, capture, recording, moderation or provider actions. If the owner context, panel or Flow is unavailable or changes before your click, it refuses. Autoapproval cannot approve this request.
Save this as workflow.json:
Open the owner’s saved Call Recordings
At desktop-owner Propose, ask to open the current Flow’s existing Recordings review, including when sharing has ended. Send this exact request torequest_app_workflow:
flowjoe-cli action request_app_workflow --file workflow.json --json command as above, or call the tool in the current MCP session. Click the fresh owner approval in FlowJoe. The response contains only {ok:true,status:"opened"}. Choose the saved call and any follow-up inside the panel.
Open People Chat for one node
At desktop-owner Propose, ask Joe or a connected assistant to open the conversation for one exact node withrequest_app_workflow. Use the node ID from the current Flow; send no other fields:
{ok:true,status:"opened"}; it contains no messages, attachments or links and grants no read, send,
@JoeAI mention, call or recording authority. FlowJoe never substitutes a different conversation.
Decline or a changed Flow/share/node leaves the conversation closed.
Save the exact request in workflow.json and run it with:
Read and control a People Chat room tab
At Read or Propose,read_people_chat_room_tab accepts exactly {nodeId} for the exact visible node in the already-open owner People Chat panel. It returns only {ok:true,tabId,pinned,active,visible:true}. At Propose, use a fresh returned tabId with control_people_chat_room_tab and one action: pin, unpin or remove_tab.
remove_tab removes the shortcut from both lists but keeps the conversation, draft, history and permissions; an active room may remain active while hidden from the strip. This is an immediate local preference, not a review card or auto-apply edit. It never opens Chat for you or returns conversation content, names, roster, membership or admin data. The exact mounted tab, caller, Flow/document/storage and room scope must still match. Existing visibility, Private/unlock and Hide from Joe checks apply separately; the saved view keeps its effectively-Private exclusion. The owner panel must already be open.
Read a saved call speaker log — read_shared_call_speaker_log
At Read or Propose, read_shared_call_speaker_log reads the saved speaker log for one exact visible audio entry in the owner’s current Flow. Use the exact nodeId and entryId from that Flow. offset accepts integers from 0 to 50,000 and limit accepts 1 to 200. Omit either or pass null to use its default (0 and 100). The result returns saved turns in recording seconds, with names when available. It does not return IDs, audio, transcript text or live-call state. Private and Hide from Joe are checked separately.
Save the selectors in speaker-log.json:
Change Auto-record calls
At Propose, ask Joe to change the saved Auto-record calls setting for the owner’s current Flow. Every request, including one that asks for the current value, opens a fresh owner confirmation. This changes the saved setting only. It does not start or stop recording. Audio calls must be enabled for the Flow. Save this asworkflow.json to turn Auto-record calls on:
Read Recorder status — read_audio_recorder
At Read or Propose, read_audio_recorder accepts exactly {} for the authorized owner-local desktop. It reads the current snapshot without opening the recorder or sampling devices. The bounded status includes availability, stage, elapsed time, progress, supported formats and safe settings. In Video mode captureMode is "video", and in Audio + video mode it is "both". It omits raw source links, device and application names, save targets, take names and paths. If desktop recorder service is absent, status.reason is desktop_only.
No input file is needed. The CLI supplies {} when --file is omitted:
view set to choices. Save this as
recorder-choices.json:
field (source or input), its exact Configure value, the localized UI
label and whether it is selected. Copy the field and value into a Configure request; do not
use the label as an ID. If nextStart is non-null, repeat the query with that start for the next
page. start defaults to 0 and limit to 100; limits must be 1–100. Configure rechecks availability.
This query reads only cached enabled local sources and microphone inputs. It does not open the
Recorder, sample audio, refresh devices, change permissions or start capture. It returns no link,
destination or take identities. The default {} status read remains available at Read/Propose
without choice IDs or labels. Preparing a link uses the separate Configure link setup below.
Changes and approval: A pure read at Read or Propose access — it changes nothing, opens nothing and needs no approval card.
Result: The bounded recorder status snapshot: availability, stage, elapsed time, progress, supported formats and safe settings.
Use Recorder — control_audio_recorder
At Propose, every Recorder control passes one action; set_target also takes the exact destination nodeId and an optional entryId. Open the existing Recorder panel with exact action-only input. Save this as recorder-open.json:
captureMode when Video or Audio + video is selected. Start camera takes and choose backgrounds in the desktop panel. Stop can request an end to an owner-started camera take; poll status to see whether its Gallery save finished. It works during Present. Each later capture still needs separate explicit owner approval.
At Propose, submit action: "configure" and at least one of source, input, format, depth, bitrate or autoStop (silence seconds: 0 for Off, 2, 5, 10 or 30). Use choices available in the Recorder on the owner’s desktop. Open the Recorder first. Configuration applies the requested settings without starting capture, and stays available during Present.
Save this input as recorder-settings.json:
source: "youtube" with link.
This is the existing link source for both providers. For YouTube, an optional clip chooses whole
seconds; end: null means to the end. Replace VIDEO_ID below with the actual video’s
11-character ID before running. Save the input as recorder-link.json:
clip selects the whole video. Changing only encoding settings preserves
the staged link and clip. Drive links use the whole file. Preparing a link is separate from starting
a capture and grants no recording approval. Status does not return the URL or Drive resource key.
At Propose, send exactly {"action":"show_saved"} to reveal the accessible last saved take in the app, or {"action":"discard"} to give up the take the Recorder is still holding. Check the Recorder status first to see whether a take is waiting or has been saved.
At Propose, {"action":"set_target","nodeId":"node-id"} locks the destination to that node.
Add an exact entryId to place the recording as a new take inside that slot. Setting a destination
starts a save when the Recorder is already holding a take. Send exactly {"action":"retry"} to try
the current destination again. For a waiting Video take in H.264 MP4 or VP8 WebM, or Audio + video take in H.264/AAC-LC MP4 or VP8/Opus WebM,
unlock the original Private node. Keep Hide from Joe off. Use retry to save there or set_target to choose a slot
in that same node. Private encryption and Hide from Joe are separate. Read Recorder status for the save result.
To start a configured local computer, app or microphone recording at Propose, first open and
configure the Recorder and choose a destination. It must be initialized and idle, with no waiting
take. Save this exact input as recorder-record.json:
armed) or recording, then use Stop separately. Startup is not save completion. Normal destination
sharing applies; an unlocked owner Private destination needs a supported format verified for
encrypted playback (WAV, MP3, M4A or FLAC), independently of Hide from Joe. This works during Present.
For a configured YouTube or Google Drive file link, use the same exact {"action":"record"}
input at Propose. Each download requires the owner’s Save audio click on a desktop card
showing provider, video/file identity, configured part and destination. The card and response do
not echo the raw URL or resource key. Decline, cancellation or stale context starts nothing;
automatic approval cannot replace the click and no ongoing permission is granted.
The response reports observed fetching; poll read_audio_recorder for later progress and the
save outcome. Starting is not save completion. Stop cancels an in-progress download without
keeping a take. Configure still does not load the agent-staged preview or start downloading.
Present, normal destination sharing and unlocked verified Private-format rules remain in effect.
To stop a Recorder take at Propose, save this exact input as recorder-stop.json:
armed), recording or fetching a link, including during Present. It needs no destination readiness or new capture approval. Its acknowledgement requests Stop; encoding or saving may finish later, so read status for the outcome. Stopping a link fetch cancels it without keeping a take.
Changes and approval: Requires Propose access. Opening and configuring the owner-local Recorder panel applies immediately without a Flow Undo entry; each capture still needs its own separate explicit owner approval.
Result: The recorder panel is opened, configured or signalled as requested, and the response carries the resulting state.
Read mounted gallery audio — read_gallery_audio
read_gallery_audio reads safe state for one audio card already mounted in the open gallery. It
does not navigate to another node, load an offscreen player, or return media URLs, paths or bytes.
Pass the exact nodeId and slotEntryId of the mounted card from the current Flow. A missing,
unmounted, private, hidden or stale target is refused; use existing navigation to change the view
first. The read is available at Read or Propose access.
activeEntryId a control command needs.
Control mounted gallery audio — control_gallery_audio
control_gallery_audio can play, pause, seek, set volume or mute that same mounted card. Refresh
its state immediately before a command and pass the returned activeEntryId; a stale active item is
refused. These commands act immediately and temporarily, without a Flow change, approval card or
Undo entry. They do not change saved playback speed or mode. Control requires Propose access.
Use the returned active identity with the command. For example, pause the current item:
nodeId and slotEntryId of the mounted card, the fresh
activeEntryId from a read, and one action: play, pause, seek, volume or mute.
The control schema requires all three value fields: provide the one used by the action and set the
other two to null. For seek, timeSeconds must be finite and nonnegative; media must be ready
with a known duration. For volume, volume must be a number from 0 to 1. For mute, muted must
be a Boolean. play and pause are idempotent. Play initializes lazily; read, seek, volume and mute
do not autoplay. Volume and mute can be set while idle. If the active identity changed, read again and
retry only against the refreshed item. Saved speed and mode remain separate Flow edits using
setAudioPlayback through the normal proposal and Undo flow.
Changes and approval: Requires Propose access. Playback changes are immediate and temporary, without a Flow change, approval card or Flow Undo entry; saved playback speed and mode are untouched.
Result: The mounted card plays, pauses, seeks or changes volume or mute as requested, with fresh safe state in the response.
Read browser bookmarks — read_browser_bookmarks
Read the owner’s desktop bookmark library at Read or Propose. All four read fields are required:
Read returns
{ok:true,libraryId,kind,folderId,offset,limit,total,hasMore,items,sortMode}. An opted-in folder read also returns view:{open:false} or, if that exact folder is open on the current eligible public tab, view:{open:true,sortMode:"alpha"|"natural"}. Rows contain
id,type,parentId,title,url,position; type is bookmark or folder, and folder URLs are empty.
Titles/URLs are saved metadata, not page contents. Position is a stored rank, not a contiguous index;
use the items array order. Page through hasMore for larger scopes.
Save this as input.json:
Organize browser bookmarks — control_browser_bookmarks
At Propose, control requires the fresh libraryId from a read on the same connection, plus one
action and its fields:
Known unused value fields may be omitted/null. Unknown keys or non-null unrelated values are
refused. Saving has no URL input: FlowJoe captures the actual public tab’s native address and title
after rechecking eligibility. Private and Joe-owned tabs are excluded.
To sort the folder that is already open in the Links drawer, read that exact folder with
includeOpenFolderView:true and read the eligible active public tab on the same connection. Save
the sequence below as sort-open-folder.json and run
flowjoe-cli run sort-open-folder.json --json. Choose only the libraryId from that opted-in
folder read and the active tab ID from the same run. The action applies immediately at Propose and
changes the current drawer display only; search, drafts, time and focus stay as they are. Saved rail
sort, bookmark storage/order and navigation do not change.
open-bookmark-folder.json and run flowjoe-cli run open-bookmark-folder.json --json.
The example opens the first folder returned by the current page.
{ok:true,action:"open_folder",view:{kind:"folder",folderId,open:true}}.
If that folder is already open, its current drawer view stays in place. Finish a pending edit
before opening a different folder. This action leaves tabs and saved bookmarks unchanged.
To ask the owner to review removal of the first returned folder, read the current Folders page and
pass its libraryId and that folder’s id to review_remove_browser_bookmark_folder in the same
CLI run. Save these steps as review-remove-bookmark-folder.json and run
flowjoe-cli run review-remove-bookmark-folder.json --json. The owner reviews the existing
exact-folder confirmation and chooses Delete or Cancel. Delete removes that folder, its
nested folders and saved links. FlowJoe returns only opened when the review opens.
sort-bookmarks.json and run
flowjoe-cli run sort-bookmarks.json --json. Both steps share one connection.
sortMode and the same offset
and limit. For a folder creation example, save this as bookmarks.json:
libraryId. Optional changedId identifies only the exact affected row.
Use that result for the next operation. Refresh after stale_library or a context change;
never automatically retry a stale identity. A complete reorder needs every ID across all pages,
not only the first page. Separate CLI action connections cannot borrow the earlier identity.
Turning a Favorite off leaves folder copies in place. Duplicate root Favorites return
ambiguous_favorite without changing anything; refresh and use remove_link for the exact copy
you choose. Do not remove every match by URL. Removing one exact link leaves other saved
copies alone; history’s bookmarked flag stays set until the last copy is removed. These tools
neither change the Flow nor grant page-content access. They are owner-local; guests cannot read
or change the host’s bookmark library.
To open the first returned Favorite in a new tab, save this as open-bookmark.json and run it with
flowjoe-cli run open-bookmark.json --json. Both steps use one connection and the second step takes
the row ID directly from the read result:
items[0]. Opening creates and activates a new ordinary tab
without changing the current tab. The control result retains the original read projection and page
window, with no tab metadata or changedId; it confirms tab creation, not that navigation finished.
It does not read page contents. A missing row returns target_not_found; the kind:"folders"
catalog or a non-bookmark row returns wrong_scope (a normal kind:"folder" listing is allowed);
stale scope returns stale_library, and an invalid/non-HTTP(S) stored address
or unavailable browser/tab creation returns unavailable.
Changes and approval: Requires Propose access. Organizing writes the owner-local bookmark library immediately, outside Flow Undo, without a Flow approval card; it never changes the Flow or grants page-content access.
Result: Fresh same-scope library state after the change, with the current libraryId for the next operation.
Read browser toolbar state — read_browser_controls
With Read or Propose, Joe and an authorized owner CLI/MCP connection can read safe toolbar state
from the owner’s attached FlowJoe browser. The tools cannot inspect a guest’s shared browser or another
caller’s route.
read_browser_controls returns only whether the browser is supported, attached and eligible, the active
public tab ID, back/forward/reload availability, loading state and whether that tab is muted. Here
eligible means an existing public record, including a saved unloaded tab; attached requires its live
visible native view. Reading metadata never loads or hydrates a page. It never returns a URL, title,
tab list, history, page text or private tab ID. Read it immediately before every command and pass that exact public ID as
the expected target, or null if no public active ID is published. If the tab is stale, read again
and decide what to do. Do not
automatically retry a navigation or new-tab action whose result is uncertain. Guests and shared remote
browser hosts cannot use it.
Use the built-in browser toolbar — control_browser
At Propose, use the owner’s existing New tab, address
bar, Back, Forward, Reload, Stop and Home actions. These act immediately and do not create a Flow
patch, approval card or Undo entry.
control_browser supports create_tab, navigate_active, back, forward, reload, stop,
home, mute, unmute, next_tab, previous_tab, show and hide. Every call passes one action,
the fresh expectedActiveTabId from read_browser_controls (or null when there is no eligible public
active tab), and url — a string for navigate_active and null for every other action.
navigate_active follows the normal address-bar rules, including the configured search
provider; home and create_tab use the existing browser destinations. Accepted destinations are
HTTP(S), flowjoe://start and about:blank. mute and unmute affect only the active public tab’s audio, leaving other tabs and system volume alone.
next_tab and previous_tab move through the existing public tab order and wrap at either end.
They skip Private tabs and Joe’s background tabs; with one public tab they leave it active. Read fresh
state before the next command so you use the newly active public ID. These tools do not return tab
titles, URLs or a tab list.
Navigating does not grant page-reading access:
read_browser_tab remains a separate, user-requested page reader.
control_browser with action:"show" or action:"hide" at Propose to show or hide the existing
browser. Read fresh safe state first and pass its non-null, eligible public activePublicTabId
as expectedActiveTabId, with url:null. These two actions work while the browser is hidden and do
not require it to be attached already. Private, Joe-owned and absent active tabs are refused.
Repeating show keeps it shown; repeating hide keeps it hidden. The normal opening/full-hide
behavior, theme, modal handling, motion and visibility saving apply. Neither action creates a tab,
supplies a new navigation target or closes a tab; showing may restore the same saved page/history, and neither grants page-reading permission. For example:
Close the Links drawer
Save this two-step request asclose-links-drawer.json and run it in one CLI connection. The second action uses the exact active public tab identity from the first read and sends url:null.
unavailable and leaves its draft intact. Finish or cancel the rename, then read again before retrying.
Open the Links drawer
Save this two-step request asopen-links-drawer.json and run it in one CLI connection. The action uses the fresh active public tab identity from the first read and sends url:null.
control_browser, pass expectedActiveTabId from the fresh read; show and hide require a non-null public ID. For other actions, pass null if the read publishes no public active ID; pass
url:null except for navigate_active. Discover the running build’s action list before scripting.
Refusals return a code only, such as stale_tab, invalid_url, browser_not_attached or
not_allowed; read fresh state and make a new decision before retrying.
Changes and approval: Requires Propose access. Toolbar actions apply immediately to the owner-local browser — they are not Flow edits, so they create no approval card and no Flow Undo entry, and they never grant page-reading access.
Result: Fresh safe toolbar state after the requested tab, navigation or drawer action.
List public browser tabs — read_browser_tabs
Use read_browser_tabs with {} at Read or Propose to choose a public tab. It returns
{ok:true,state,tabs}; each tab has id, position, active, boolean pinned and boolean inMemory. The last flag reports native memory allocation, not whether a page has finished loading. Positions are one-based,
contiguous and follow public tab order. IDs are opaque: copy them exactly, never parse or guess them.
The list excludes Private and Joe-owned background tabs and their counts, URLs, titles, favicons,
groups, history and page contents. It is safe while the browser is hidden or a Private tab is active;
listing does not restore tabs freed from memory.
Pass optional Boolean includeSelection as true to add selectedPublicTabIds. The array lists
currently selected public tab IDs in native strip/Map order and includes pinned public IDs. It never
includes Private or Joe-owned IDs or counts. Omit the option (or pass false) to preserve the existing
read shape. The read remains metadata-only and returns no page data.
At startup, saved unopened public tabs are registered as metadata and appear with inMemory:false.
Registration and listing create no WebContents and make no page requests. In safe state, eligible
and activePublicTabId refer to the existing public record even before it has live WebContents;
attached still requires the actual visible live browser view. show explicitly restores only the
same saved active public record and stored destination/history, then rechecks its identity/public/current
status before reveal. It does not accept a new URL or fall back to a Private or new tab. Hiding an
already-hidden saved record is idempotent. Restore preserves saved order, group, pin, favicon,
local history and both muted and unmuted intent.
Pinning can target saved unopened public tabs without hydration. Activation explicitly restores its
target. Pinning, activation, cycling and sleeping still require a fresh attached live eligible public
source. Metadata registration is internal owner startup behavior, never an MCP/model action or a
page-reading grant.
Restored navigation history keeps legitimate about:blank steps in their original positions.
To read selected public IDs for the native selected-tab action, save this as input.json:
--file for the existing response shape.
Changes and approval: A pure read at Read or Propose access — it changes nothing, never loads or wakes a page, and needs no approval card.
Result: The public tab list with opaque IDs, positions, active/pinned/in-memory flags, plus safe toolbar state.
Read browser tab groups — read_browser_tab_groups
At Read or Propose, read the owner’s public tab groups. The arguments are optional offset
and limit; omitted or null values mean 0 and 50, and the maximum page size is 50. The result
is {ok:true,groups,activeTabId,nextOffset}. Each group has an opaque id, color, hidden,
collapsed, public member tabIds and count. Group names, URLs, titles, page contents, Private IDs and
excluded-tab counts are not returned. A group is listed only when every actual member is public.
For example, save this as input.json:
Control browser tab groups — control_browser_tab_groups
At Propose, change the owner’s public tab groups with control_browser_tab_groups. Every call
passes one action and the unchanged current public activeTabId as expectedActiveTabId, plus the
exact fields of the chosen action. These are owner-local browser changes, not Flow edits: they create
no Flow patch, approval card or Flow Undo entry, and they never grant page-reading access.
Use the exact group.id and current activeTabId from a fresh result. The action is
one of set_color, set_hidden, set_collapsed, focus, remove_tab, assign_tab, ungroup, move_tab, rename, create_group, new_tab_in_group or move_group. Existing-group actions require both IDs to be nonempty strings; if
the read has no current public activeTabId, do not guess one or send the control. set_color requires color to be one
of orange, blue, green, purple, red or gray; set_hidden requires Boolean hidden;
set_collapsed requires Boolean collapsed; focus takes no action-specific value. For example,
after replacing both IDs with values from the read result:
tabId from
that group’s tabIds in the fresh result. Keep the same current expectedActiveTabId:
groupId from the fresh group list
and tabId from the fresh public tab list. Keep expectedActiveTabId equal to the current public tab:
groupId and the unchanged current expectedActiveTabId:
expectedActiveTabId:
name; the existing Rename Group save rules trim surrounding whitespace:
groupId or set it to null:
input.json, then run:
ungroup removes
the group metadata and membership from every member; all tabs stay open, and the active tab remains
selected whether it was inside or outside the group. It returns group:null and the refreshed active ID.
The control object is closed: unknown fields refuse, and a field for another action must be omitted or null. tabId is required for remove_tab, assign_tab, move_tab and create_group, and omitted/null for other actions. sourceGroupId is required only for move_tab and otherwise omitted/null. name is required for rename and create_group and omitted/null for other actions. groupId is required for every existing-group action and omitted/null only for create_group. new_tab_in_group takes no action-specific values; known placeholders may only be null. move_group requires distinct groupId and targetGroupId plus placement exactly before or after; targetGroupId and placement are omitted/null for other actions. It starts from the Groups rail order currently displayed, places the source immediately relative to the target, and saves the resulting order as Manual. Since this save updates every rail position, every live group needs wholly-public native proof or the action refuses without change. Active selection stays unchanged; reread groups to confirm order. Group names and page contents are omitted. A stale active ID is stale_tab; incomplete proof is unavailable; persistence failure after an order change is save_failed with changed:true. ungroup has no action-specific values; known placeholders may only be null. move_tab requires distinct
sourceGroupId and groupId (the destination), plus an exact source-member tabId. A success returns {ok:true,group,state:{activeTabId}}; group is refreshed for setting color/hidden/collapsed
and for remove_tab when members remain, the refreshed destination group for move_tab, and null for focus or when remove_tab removes the last member and deletes the empty group. move_tab leaves the
moved tab open and active selection unchanged, reveals/expands the destination, and deletes the source
group only when it becomes empty; read the group list again to inspect the source. rename requires a
nonblank name. The existing Rename Group save rules trim surrounding whitespace. The saved title
appears in the app while the group keeps its ID, members, style and active tab. Group names remain
omitted from reads, results and errors. create_group uses a fresh public tabId and the unchanged
current expectedActiveTabId. The action checks that the tab remains ungrouped, creates a group ID,
and returns the usual group/state envelope with exactly that tab as its member. The current active tab
stays selected. Its saved title appears in the app, while group names remain omitted from reads,
results and errors. A missing or newly grouped tab is unavailable; a stale active ID is stale_tab.
A persistence failure after creation returns save_failed with changed:true. The supplied name is
trimmed by the same save rules as Rename Group. new_tab_in_group takes only groupId and
expectedActiveTabId; it opens the configured start, blank, home or gallery destination. The group is
shown and expanded with existing members retained, and the new public tab becomes active. Success
returns the refreshed safe group/state envelope with the new tab ID as activeTabId. Group names,
URLs and tab titles stay omitted. A stale active ID is stale_tab; missing or unverified group proof
is unavailable; persistence failure after opening is save_failed with changed:true. Focus shows and expands the group if needed,
then activates its first member. Hiding an active group proceeds only when its normal next tab is
confirmed public or no fallback tab exists; an unconfirmed, Private or Joe-owned fallback is refused
before the group changes. Inactive groups can be hidden directly. Changes use existing browser controls,
save before success is reported and do not create a Flow change, approval card or Undo entry. A
stale active ID requires a fresh read; an unverified, ineligible or protected group is unavailable
without effect. If changed state fails verification, Joe reports unavailable with changed:true.
If saving fails after a visible change, Joe reports save_failed with changed:true rather than
claiming it was saved; reread before retrying. Invalid group proof or membership is unavailable. Removing a member does not close its tab. Assignment leaves the tab open,
does not activate it, and shows/expands the destination group. None of these controls grants
page-reading permission.
Changes and approval: Requires Propose access. Group actions apply immediately to the owner’s public strip using fresh identities — owner-local browser changes outside Flow Undo, with no approval card and no page-reading grant.
Result: Fresh safe group and toolbar state after the change; reread groups to confirm order and membership.
Move a public tab within the browser strip — move_browser_tab_in_strip
At Propose, use distinct exact sourceTabId and targetTabId values from fresh
read_browser_tabs, placement exactly before or after, and the unchanged current public
expectedActiveTabId. The action verifies the tabs share the same current group, or are both ungrouped, and have the same
pin state. For example:
{ok:true,state} with the current public
active ID; reread read_browser_tabs to confirm order. A stale active ID or order is stale_tab;
protected/ineligible tabs, mismatched group membership or pin state, and failed proof are unavailable.
Post-effect verification failure includes changed:true; persistence failure is save_failed with
changed:true. Invalid arguments return invalid_arguments. It reads no page content and creates no
Flow Undo entry.
Changes and approval: Requires Propose access. The move applies immediately through the existing tab-strip drag path; it is an owner-local browser change, not a Flow edit, so it creates no approval card and no Flow Undo entry.
Result: The tab sits at its new position within the same group or the ungrouped strip, and the active tab is preserved.
Activate a public browser tab — activate_browser_tab
At Propose, call activate_browser_tab with exactly expectedActiveTabId and targetTabId, both
nonempty strings copied from a fresh list: the current state.activePublicTabId and the chosen
public entry’s id. The browser must be attached and its current tab public and eligible. For example,
after replacing these placeholders with the returned IDs:
{ok:true,state} and restores a freed tab through the normal tab-selection path.
Missing, Private and background target IDs all return unavailable. For stale_tab, read again and
choose using current state. Switching is immediate, without a Flow patch, approval card or Undo,
and does not grant page-reading access.
Changes and approval: Requires Propose access. Activation is an immediate owner-local browser change, not a Flow edit — no approval card and no Flow Undo entry.
Result: The chosen public tab becomes the active tab, restored from memory if it was sleeping.
Sleep a public browser tab — sleep_browser_tab
At Propose, use sleep_browser_tab to free memory from an inactive public tab. Use exactly the same
two nonempty selectors as activation, copied from a fresh read_browser_tabs result: current public
state.activePublicTabId as expectedActiveTabId and an entry with active:false and inMemory:true
as targetTabId. The browser must be attached with an eligible public tab active.
{ok:true,state}. Sleeping keeps the tab and its order, group, pin, mute setting and
local history; it does not close or delete the tab. Activating it later restores it. Missing, Private,
background, active and already-sleeping targets all return unavailable, without waking or changing
them. To free several tabs, list again and handle each eligible inactive public tab individually.
These immediate controls do not create a Flow edit or grant page-reading permission.
Changes and approval: Requires Propose access. Sleeping is an immediate owner-local browser change, not a Flow edit — no approval card and no Flow Undo entry.
Result: The inactive public tab is freed from memory while keeping its place, group, pin and history.
Pin or unpin a public browser tab — set_browser_tab_pinned
At Propose, use set_browser_tab_pinned to set one public tab’s pin state. Supply exactly two
nonempty strings, expectedActiveTabId and targetTabId, plus Boolean pinned. Copy both IDs from
a fresh read_browser_tabs result. The source must be the current attached, live, eligible public
tab; the target can be active, inactive or sleeping. For example:
pinned:false to unpin. Success returns {ok:true,state}. An already-matching flag is a
successful no-op without reordering. Changes follow the existing human pin placement and keep
groups contiguous, but never expand to other selected tabs. Sleeping tabs stay asleep; selection,
activation and page-reading permission stay unchanged. Missing, Private and Joe-owned targets all
return unavailable.
Changes and approval: Requires Propose access. Pinning is an immediate owner-local browser change, not a Flow edit — no approval card and no Flow Undo entry.
Result: The target tab is pinned or unpinned in the strip following the normal pin ordering.
Duplicate a public browser tab — duplicate_browser_tab
Use duplicate_browser_tab at Propose with exactly two nonempty strings:
expectedActiveTabId from fresh safe state and targetTabId copied from read_browser_tabs. The
current source must be attached, live and public. Save the returned IDs as:
Close a public browser tab — close_browser_tab
Use close_browser_tab at Propose with exactly two nonempty strings:
expectedActiveTabId from fresh safe state and targetTabId copied from read_browser_tabs. The
current source must be attached, live and public. Save the returned IDs as:
Close public browser tabs by direction — close_browser_tabs
At Propose, close_browser_tabs closes the exact unpinned public tabs to one side of an anchor,
or all other eligible public tabs. First run read_browser_tabs and copy its current
state.activePublicTabId to expectedActiveTabId, the chosen public tab’s id to anchorTabId,
and the target IDs to targetTabIds. The mode is "left", "right" or "others". The array must contain
1–25 unique IDs. The backend compares target membership with the current live
eligible set and executes in native order: left closes left-to-right, right and others in reverse.
The anchor stays open. Native others focuses the anchor when needed.
input.json, then run:
closedTabIds and remainingTabIds; a partial result may include stopReason. Partial results may
return state:null if safe toolbar state could not be refreshed after confirmed closes. Confirmed
individual public closes appear in the existing recently closed list, which is bounded to 25. This creates no
Flow Undo entry. Use close_browser_tab when you want to close one exact tab; group deletion keeps
its separate owner confirmation.
Changes and approval: Requires Propose access. Closes apply immediately to the owner-local
browser; they are not Flow edits and receive no Flow Undo entry. No page-reading access is granted.
Result: Exact confirmed closed and remaining public tab IDs, with the current safe state or
state:null if it could not be refreshed after a partial close.
Close selected public browser tabs — close_selected_browser_tabs
At Propose, close_selected_browser_tabs closes the exact set of currently selected, unpinned public tabs. First call read_browser_tabs on this same connection with includeSelection:true; use its fresh state.activePublicTabId as expectedActiveTabId and copy the selected unpinned public IDs from selectedPublicTabIds into targetTabIds. The array must contain 1–25 unique IDs and match the live eligible selected-tab set by membership and count. The read array follows native strip/Map order; the backend freezes the matched target set at command start and closes it in reverse strip order.
input.json and run flowjoe-cli action close_selected_browser_tabs --file input.json --wait 3600 --json. The request accepts no URLs, titles, positions or page content. It is a separate operation from closing one exact tab or closing tabs by direction.
Pinned, Private-origin and Joe-owned tabs are skipped and never returned as targets. The native selected-tab multiselection is the source of this exact set; it is not a Flow edit and creates no Flow Undo entry. If the active tab closes, FlowJoe keeps a safe public selection or hides the browser when none is available. A partial result reports exact confirmed closedTabIds and remainingTabIds, may include a typed stopReason, and may have state:null when safe toolbar state could not be refreshed. Only the most recent 25 confirmed individual public closes are recoverable from the existing Recently Closed list. No page-reading access is granted.
Changes and approval: Requires Propose access. Closing applies immediately to the owner-local browser without an approval card; this is not a Flow edit and cannot be undone with Flow Undo.
Result: Exact confirmed closed and remaining public tab IDs, plus safe state when available and an optional partial stopReason.
List closed browser tabs — read_closed_browser_tabs
Call read_closed_browser_tabs with {} at Read/Propose to obtain tabs:[{id,position}] plus safe
toolbar state. Copy the chosen opaque tabs[].id into the reopen argument closedTabId; positions
are contiguous and one-based, never a way to derive IDs. The list reveals no URL, title,
history, timestamp, group, favicon, protected IDs or excluded-record counts and never wakes a page.
Use an input.json containing {} for the read:
Reopen a closed browser tab — reopen_closed_browser_tab
To reopen at Propose, copy an exact returned
tabs[].id into closedTabId and fresh state.activePublicTabId into expectedActiveTabId in a new input file:
closedTabId is a nonempty string; expectedActiveTabId
is a nonempty string or null only when the actual native current tab is absent. A Private or
Joe-owned current tab is refused even if safe state publishes a null public ID. The exact closed
record is consumed only after successful creation. A non-null source need only be the same fresh
eligible public record, even hidden or unopened; it is not woken just to reopen. Reopening while hidden keeps the browser hidden;
use the returned fresh public active ID with a separate explicit control_browser show to reveal it.
Mutations return only safe state and grant no page-reading permission, Flow edit, approval or Undo.
Never derive IDs from positions or probe guessed IDs.
Changes and approval: Requires Propose access. Reopening is an immediate owner-local browser change, not a Flow edit — no approval card and no Flow Undo entry.
Result: The exact closed tab is recreated as a public tab and its closed record is consumed.
Read saved beat times — read_video_beats
Read a bounded window of saved beat times for one accessible audio track in the current video’s sequence. This uses the track’s saved beat analysis. It does not decode media, run detection, change the Flow or create markers. Read or Propose access is required.
{ok:true,summary:{bpm,meter,bar1,count},points:[{t,bar,beat,isBar}],nextFrom}. t is on the sequence clock. The summary count covers all beats in the saved record, even when a smaller range or barsOnly is requested. At most 200 points are returned. When more matching points remain, nextFrom is the first omitted point’s time; use it as the next from while keeping the same nodeId, trackId, to and filter. Otherwise nextFrom is null. Missing, stale, hidden or unavailable track/audio data share the generic unavailable result. Invalid input is refused. Ordinary sequence markers are separate and are not created by this read. Private and Hide from Joe remain separate checks.
Changes and approval: A pure read at Read or Propose access — it does not decode media, run detection, change the Flow or create markers, and needs no approval card.
Result: The bounded window of saved beat times with the analysis summary.
Find beats for a video track — detect_video_beats
At Propose, ask Joe to analyze the exact current recording of one visible sequence audio track locally, then return a finite sequence-time window of its beat points. A first request creates a private staged result; later requests can page that same result with its analysisId without analyzing again. Each page contains at most 200 points and nextFrom identifies the first omitted point. barsOnly:true filters to bar starts. Preparing or paging an analysis does not change the Flow.
Keep analysis, paging and the proposal in one Joe tool run, one live CLI
run connection or one MCP session so the staged handle remains with the same caller. For example, save this as detect-beats.json:
flowjoe-cli run detect-beats.json --json. Use the exact trackId from the snapshot for the selected current track. This example proposes the staged result against the sequence from that same snapshot. The owner reviews and clicks Approve; do not add --autoapprove.
The bounded detection result is {ok:true,analysisId,summary:{bpm,meter,bar1,count},points:[{t,bar,beat,isBar}],nextFrom}. Supply the same track and returned analysisId to continue paging, using nextFrom for the next page’s from. The in-memory handle is limited to the same caller, Flow/document, node, track and active recording. A changed or unavailable source cannot use the old result.
To save the analysis, pass its analysisId as the top-level beatAnalysisId argument alongside nodeId and sequence in the ordinary setVideoSequence operation. Do not provide beat timestamps. FlowJoe shows the normal sequence-settings review; the owner must click Apply, including when automatic application is enabled. A staged beat operation cannot be auto-applied. Other requested clip and ordinary marker changes can be included in that patch. Beat data remains attached to its track, while timeline markers remain separate sequence-time notes.
Changes and approval: Requires Propose access. Detection stages a private analysis result only — preparing or paging it does not change the Flow, and no approval card is needed because nothing is placed.
Result: A finite window of beat points with the analysisId that pages the same staged result without analyzing again.
Read or change the beat-grid display
read_video_editor includes view.snap for the open editor. At Propose, control_video_editor({action:"snap",enabled}) changes the current editor’s local Snap setting immediately. This is distinct from beat-grid display preferences and does not edit saved beats or the Flow.
read_video_editor also reports view.beatGrid and view.beatBarsOnly. At Propose, use control_video_editor with action:"beat-grid" or action:"beat-bars-only", the exact current nodeId, and Boolean enabled to change one preference. Hiding the grid removes beat snap targets; Bars only keeps snapping to bar lines instead of every beat. These display controls do not analyze audio, change saved beats, edit the Flow or create a Flow Undo step. The barsOnly option on read_video_beats filters that read’s returned points only.
For example, save {"action":"beat-grid","nodeId":"YOUR_NODE_ID","enabled":false} as beat-grid.json and run flowjoe-cli action control_video_editor --file beat-grid.json --json. Use the nodeId of the current open editor.
Move Bar 1 or remove saved beats with setVideoSequence
Use a fresh get_flow_snapshot for the exact current node and track. Copy the complete current videoSequence, preserving unrelated fields and every visible track, because setVideoSequence replaces the supplied track list. For a native-equivalent Bar 1 move, change only that track’s summary beats.bar1 to a zero-based integer from 0 through count - 1 and preserve meter. FlowJoe retains the exact stored beat-time encoding. To remove only the saved beat metadata, set the target track’s beats to null; its audio remains. Do not send a replacement beat record.
Changes and approval: Submit the ordinary setVideoSequence operation through propose_flow_patch. Joe chat and authenticated Joe CLI brain require Apply; owner-chat Auto-apply edits does not cover this operation. External CLI/MCP show Approve in gated mode and may instead follow their separate optional auto-apply settings for ordinary sequence edits.
Result: An applied patch can be reversed with the existing Flow Undo.
Plan video shots — plan_video_shots
At Propose, a connected CLI or MCP assistant can prepare a video-shot plan using the owner’s current Video tab settings. Supply the exact target nodeId and a shots array of 2–12 strict rows. Each row needs a nonempty title (up to 80 characters) and prompt (up to 2,000 characters). Optional seconds must match the selected model’s choices and uses the Video tab length when omitted. Extra row fields are rejected. The optional startEntryId selects the picture or video slot whose frame starts the plan.
Save a plan request as shot-plan.json.
estimatedCost for an API model, or makeWith:"grok_subscription" and costNote when the owner’s Video tab uses the Grok subscription option. This request only prepares a plan summary. It does not place a card in Joe chat, generate a video, call a paid video provider or write to the Flow.
Changes and approval: Requires Propose access. Planning prepares the shot plan only — it does not write the Flow; any generation or placement happens through the ordinary approval afterwards.
Result: The prepared video-shot plan using the owner’s current Video tab settings.
Plan a Cut to the Beat — plan_video_beat_cut
At Propose, plan trim-only join moves for two or more clips on a visible timeline. Pass the exact nodeId and trackId, the selected clipIds in current sequence order — exact clip placement IDs or ordinary slot entry IDs — and every set to beat, bar, 2bars or 4bars. IDs may be supplied in any order. Optionally add marker:{time,name} for one ordinary marker at an exact sequence-second time; the planner assigns a fresh native marker ID and keeps existing markers. marker may be null or omitted. A full list of 100 markers returns marker_limit. Names over 60 characters are rejected. The planner returns ordinary patch operations and expectedBaseRevision; it does not write the Flow.
Save the following JSON as cut-to-beat.json. Replace the node, track and clip IDs with the exact IDs from the open editor or current snapshot.
run so its revision proof remains valid. Pass the planner’s ops and expectedBaseRevision unchanged. For a known saved lyric cue, retrieve the timed cue with query_history/read_history and convert its source time through the exact audible track placement (track.start + cue.start - track.trimIn); do not transcribe again. Use the separate saved-bar alignment workflow only if the user expressly asks. A same-session analysisId can still save that staged beat result with the cuts under its existing approval rule. If no join moves and neither a marker nor analysis is supplied, do not send an empty proposal. The revision proof is checked before the owner card appears and again while it waits; refresh and plan again if stale. The owner must manually approve once even when --autoapprove is enabled; an applied patch is reversed with existing Flow Undo.
If the user expressly asks for fresh local lyric timing for the marker, use the exact audio nodeId and entryId with transcribe_audio and action:"wait", timings:true, timingSource:"local". Use real cues on their original source clock. When the user identifies a repeated phrase and asks for its earliest occurrence, select the earliest matching cue; clarify if the cue or timing is uncertain or missing. Convert the chosen cue.start through the audible placement (track.start + cue.start - track.trimIn) and pass it as marker:{time,name} to plan_video_beat_cut. Do not upload audio, fall back to paid transcription, guess times, or claim acoustic/model timing accuracy. A saved-cue request continues to use query_history/read_history without retranscription. Keep the S249 ops and expectedBaseRevision and its one manual owner approval unchanged.
Changes and approval: Requires Propose access. The planner only computes ordinary patch operations — it does not write the Flow; the paired propose_flow_patch step goes through the normal approval.
Result: Ordinary patch operations and the expectedBaseRevision for the trim-only join moves.
Measure sequence sound — measure_audio
At Read or Propose, measure the sound of a node’s video sequence as numbers, using FlowJoe’s own video tool. Use it to check and plan a mix or a master — before and after changing volume, Same loudness, EQ, effects, track lowering or the Export choices — and on an exported video.
mix measures the whole sequence exactly as an export would make it with these settings; clip is heard as the export plays that clip alone (trim, volume, Same loudness, sound effects); track is heard alone as it plays in the mix, lowered under other tracks and the clips; slot measures any audio or video slot of the node — a mastered take, an exported mix, a song — as its file, with no sequence needed. The result carries integratedLufs (EBU R128), loudnessRangeLu, truePeakDbtp, samplePeakDbfs, rmsDbfs, clippedSamples and seconds; null means silence. When settings is supplied it is the complete Export choices object — sound, balance, protect, trackFadeIn, fadeIn, fadeOut, fadeLength, fadeShape, joins, crossfade, trackLonger and videoLonger go together. Errors include redacted (something in it is Private, locked or hidden — say you can’t measure it, never guess), not_found, no_clips, track_muted, missing_media, no_sound, busy (an export or another measurement is running — try again shortly) and unavailable (the video tool isn’t on this computer).
Changes and approval: Read only; no approval. Measuring decodes sound locally and changes nothing in the Flow.
Result: The loudness, peak and clipping numbers for the chosen target, with optional over-time windows, stereo bands and spectrum.
Follow a video export or render job — video_export_status
At Read or Propose, follow or stop jobs started by the approved exportVideoSequence, renderAudioMaster, renderAdvancedFinish, renderSpeedTake, generateVideoTake or detachClipAudio operations. The applied result carries the jobId; kind identifies the job (export, master, finish, speedTake, generatedVideo or detachedAudio).
status returns state (running, done, failed or cancelled), phase and progress; percent may be null while progress is unknown, and percentages describe the current step, not overall export time. When done, the result identifies the created slot or take, or the detached track; export and audio-render jobs also report their resulting measurements. cancel stops a running job; no incomplete output is added to the Flow. The resulting gallery slot or track follows the app’s Undo path; undo_last_change does not remove a rendered export.
Changes and approval: status is read only and needs no approval. cancel stops your own running job — it removes nothing that already landed and needs no approval card.
Result: The job’s state, phase and progress, or the finished job’s created slot, take or track with its measurements.
Edit ordinary timeline markers with setVideoSequence
Read the current node with get_flow_snapshot, then change only the requested marker rows in its videoSequence.markers list. Use sequence seconds for t, a fresh unique id for a new marker, and the exact existing id to rename, move, recolor or remove one. Keep the other marker rows. Omit markers to retain the whole list; use markers: [] only when asked to clear all markers. setVideoSequence replaces the tracks list, so include every current track unchanged. Review the normal proposal in FlowJoe.
This example adds a marker to an empty sequence with no audio tracks or existing markers. For a populated sequence, copy every track and every other marker from the fresh snapshot and change only the requested marker.
add-marker.json and run flowjoe-cli action propose_flow_patch --file add-marker.json --json. The owner reviews the sequence change in FlowJoe. A beat read reports numeric beat points on a track; it does not create markers. Lyric markers use transcript timing and remain a separate workflow.
Changes and approval: The patch is held for the owner’s approval in FlowJoe like every Flow change; nothing is written before approval.
Result: After approval, the node’s timeline markers reflect the requested rows.
Align a marker to a saved bar with read_video_beats and setVideoSequence
Use this only when the user expressly asks to align a marker. Start with the exact visible nodeId and audio trackId from a fresh snapshot. The target is an exact user-supplied sequence time or a known timed lyric cue converted to sequence time with the existing audible-track placement rule; ordinary lyric timing remains unchanged. For lyrics, use the existing transcript workflow and do not alter transcription or consent choices. Exact supplied sequence times need no transcription.
Read bounded sequence-time windows with read_video_beats and barsOnly:true; page with nextFrom within the agreed bounds to look for valid bars on both sides of the target. Choose the nearest returned bar, choosing the earlier bar on an exact tie. If no valid saved bars are available within those bounds, report that alignment is unavailable; do not detect beats or widen the range. Recheck the current visible beat data and take a fresh full get_flow_snapshot before proposing. Preserve all existing markers and other sequence data, including every visible track, and add a marker with a fresh ID through ordinary setVideoSequence. Respect the 100-marker total and 60-character label limit. Joe API chat and authenticated Joe CLI brain require Apply. External CLI/MCP show Approve in gated mode and may use their separate optional auto-apply settings for ordinary edits. Use existing Flow Undo after an applied patch. This is not native marker-drag snapping.
Read the open video editor — read_video_editor
Read the currently open local video-sequence editor’s playhead, duration, playback, rate, range,
selection and tab, at Read or Propose access. view.beatGrid and view.beatBarsOnly report the two
current beat-grid display toggles, and the state reports active timeline Solo keys and active Mixer
Solo strip ids, plus Ecliptic bank labels, current selection and meter — never stored bank settings.
It never returns preview pixels or media bytes. A composition containing hidden or private sources is
refused. The optional nodeId must match the open editor.
Control the open video editor — control_video_editor
Requires Propose access. Control the existing local video-sequence editor: open/status/close,
undo/redo the current editor session, play/pause, previous/next/playback-start, seek/select, set or
clear a range, loop/rate, timeline zoom/follow/snap/ripple/fullscreen, audition an accessible source,
existing timeline Solo and rack controls, or stop/cancel source audition. Transport and view controls
act immediately; session Undo/Redo and stopping a recording can save media or edits through the
existing editor paths. Use session undo/redo only when the user asks to reverse or redo editor
history, including their manual edits. record-start opens the existing microphone request/count-in
only after the user explicitly asks to record — never start recording speculatively; record-stop
saves the recording and record-cancel discards it. Presenter-owned sessions refuse.
Every call passes one action. The exact target or value keys depend on the action:
For example, save this as
video-seek.json:
beat-grid shows or hides beat lines on the open track; beat-bars-only changes snapping so it
uses bar lines instead of every beat. Both use the exact open editor nodeId and the enabled
Boolean, including false. timeline-solo toggles one lane’s existing Solo header button; it is
temporary monitoring state. rack-action targets the exact open rack by kind and optional unit:
for Ecliptic it can select state A–E, copy the current state or choose its meter; for Mixer it can
toggle temporary Solo on one existing strip. Undo/redo reports changed state, persistence outcome
and canUndo/canRedo; inaccessible history is refused before it is removed from the stack.
Changes and approval: Requires Propose access. Transport and view controls act immediately; session Undo/Redo and stopping a recording can save media or edits through the existing editor paths rather than through a Flow approval card.
Result: The editor state after the requested control, including persistence outcome and history availability where relevant.
Read a video frame — read_video_frame
Read a still image of the composed picture in the open video editor, at Read or Propose access. Use
control_video_editor to open and seek first; this read does not move the playhead. Pass the exact
nodeId of the open video sequence. Inaccessible composition sources and remote presentations are
refused. not_ready means the picture has not loaded yet.
Convert video captions — convert_video_captions
Parse, project or serialize caption text with FlowJoe’s existing timeline clock helpers. Pass one
action — parse, project or serialize — with the fields that direction needs:
For example, save this as
captions.json:
setVideoClip/setVideoSequence operations to save captions.
Result: The parsed, projected or serialized caption data on the timeline clock.
Operate the video Export window — control_video_export
Requires Propose access. Operate the existing Export window for the open video editor. One action
per call: open, settings, preview, listen, stop, close, clear_keep_parts or rack_open.
open and settings apply checked choices; passing settings.range as null returns export to the
whole sequence. Size and shape save the canvas through the same checked frame writer as the visible
controls, while other choices apply to this export window. preview renders and displays the same
in-window preview; listen uses the editor’s actual mix; stop and close end that operation;
clear_keep_parts clears its render cache. The optional nodeId asserts the editor belongs to that
node, and kind selects the master, mixer or pictureMaster rack. The settings object carries
the checked export choices.
exportVideoSequence patch and video_export_status instead.
Result: The export window state after the requested operation.
Read video presets — read_video_presets
Read the current user’s local video editing presets at Read or Propose access. Guest sessions cannot
access the host’s personal presets. The optional unit narrows the list to one rack unit;
includeFactory also returns named factory presets and their exact applicable settings;
includeControls returns source-backed rack control ranges and options; includePreferences
includes Ecliptic local preferences.
Save or delete video presets — control_video_presets
Requires Propose access. Save or delete a local video preset, or change the existing export
keep-parts cache option. One action per call: save, delete, set_export_cache,
set_rack_preferences or set_ecliptic_preferences. These affect local preferences, not Flow media;
guests cannot access host-local presets.
Read the Grok handoff — read_video_grok
Read safe status and picker metadata from the Grok subscription handoff opened by this caller, at
Read or Propose access. No browser page, media URL or account credentials are returned, and external
callers cannot inspect another caller’s route. The browser’s Generate button remains a human step.
The optional nodeId requires the handoff to belong to that node.
Operate the Grok handoff — control_video_grok
Requires Propose access. Operate FlowJoe’s existing Grok subscription handoff or media picker. One
action per call: open_importer, pick, import, close, open_shot, poll, save,
lookup_hd or use_hd. open_shot prepares the prompt and frame, then waits for the person to
press Generate in Grok — no paid API generation or arbitrary browser automation is performed.
Transcribe a recording — transcribe_audio
Transcribe an audio recording already in the Flow using saved Transcribe settings. For timed captions,
timings:true also accepts an existing video source and reads it nondestructively using local
timestamp recognition. Video timing is local-only; online or saved-online settings are refused before
video bytes are read or sent to a provider. The complete result is kept in Recent transcripts.
Propose access is required. Local setup never falls back to paid service. This action is available in
Joe’s API and CLI brains and authenticated external MCP.
For a saved shared-call recording, use
action:"wait",timings:true,timingSource:"local". FlowJoe names timed phrases from the call’s saved speaker turns. Unknown turns stay unnamed. This request transcribes the saved recording. Recording and provider send or filing use their separate owner workflows.
At Propose, propose_flow_patch can submit one fileSharedCall operation using the exact saved recording, transcript record, digest, and cue IDs. Review the destinations, timestamp links, excerpts and recap in FlowJoe’s Agent request card and choose Approve to file them. The CLI waits for your decision even when auto-apply is enabled. See Transcription for the call panel’s separate provider confirmation.
Use stable snapshot IDs: entryId names the recording leaf, including inside a stack. No path,
URL or arbitrary model override is accepted. Missing or sealed recordings are refused.
choose_audio returns accessible recording identities: ask the user and retry with one exact entry.
local_setup_required means select/install a model in Transcribe and retry. Ctrl+C cancels the run.
Success returns saved: true, recordId, method/model and up to 12,000 characters of text.
Timing requests also return timed with source-clock cues, totalCues and truncated, or null
when real timings are missing. Online audio cues have granularity: "word"; local audio and video
cues are phrase-level. Group word cues into lyric lines.
The result holds up to 256 complete cues; use smaller source excerpts if timing is truncated.
When truncated is true, query transcript history and continue with read_history using its
revision/cursor. Result: the saved record and its text, as above. The same inputs work over MCP. External calls do not open or write to Joe’s chat.
With timings: true, success also returns timed with source-second cues (id, start, end,
text), sourceEntryId, language, clock: "source", totalCues and truncated. A null timed
means real intervals are unavailable. At most 256 complete cues and 12,000 cue-text characters are
returned; if timing is truncated, request smaller source excerpts before creating a complete set
of markers. The full timing is retained. Ordinary history reads continue to return transcript text;
use includeTiming:true on a transcript read to request saved cue pages.
An excerpt’s source offset is already in each cue. For Joe’s multi-step editing requests,
action: "wait" lets him continue into the usual approved marker proposal.
See Transcribe audio.
Only in Joe’s chat
Joe works the same on every brain that uses Flow tools (OpenAI, Gemini, and CLI brains such as Claude, Grok and Codex). On a Mac this includes Antigravity; on Windows and Linux, Antigravity can’t use Flow tools yet. His chat inside FlowJoe, whether an OpenAI or Gemini model or an installed tool such as Claude Code answering as Joe, uses most of the actions on this page, plus the FlowJoe actions below that the CLI and other assistants connected from outside cannot call. Those actions never appear inflowjoe-cli actions or in the tools a connected assistant is given, and asking for one by name is refused (unknown_action in the CLI). The last row lists tools built into some brains, not FlowJoe actions.
Make, play and stage sound effects — sound_effects
At Propose, an external CLI or MCP connection can ask FlowJoe to render a local sound effect and prepare one take for the current Flow. Keep make and stage in the same connection. The make result contains a batchId and the take numbers with their durations.
For CLI, save this run list as
sound-effect.json, replacing YOUR_NODE_ID with the current target node ID and choosing a take from the make result.
flowjoe-cli run sound-effect.json --json. The usual owner review and approval applies to the gallery change. Rendering uses the pinned local Earshot runtime.
When the user asks to hear a take, use play with the batch ID returned by the same run. The run stays connected while playback finishes.
flowjoe-cli run sound-effect-play.json --json. Use play_sequence with the same batchId to play all takes in natural order, or pass one to three unique take numbers in takes for a chosen order. Playback returns after native playback completes with its status and take numbers. To stop early, send stop concurrently from the same live connection. Ctrl+C aborts the waiting CLI run. Playback does not save a take; saving still uses the separate owner-reviewed addImageSlots proposal above.
Changes and approval: Requires Propose access. Making and staging render and prepare locally without changing the Flow; the paired placement goes through the normal approved Flow patch, and no sound generation provider is called beyond the local render.
Result: The make step returns the batchId and take durations; the stage step prepares the chosen take for placement.
How to run an example
For each action below, save its JSON input asinput.json, replace YOUR_… placeholders with real
IDs from flowjoe-cli show --json, and run the command shown. No input file is needed for actions
with no inputs. All commands require FlowJoe running with Agent Bridge enabled.
Results use the CLI’s JSON envelope; the app’s response is under
result, with text and possibly image content blocks. A JSON-looking text block holds the action’s
data. --json does not turn an image into a written description. Inspect the actual result before
assuming a change succeeded. Private/hidden content remains withheld, even with --autoapprove.
Gallery and stack positions start at 0. Only pass itemIndex for a member inside a stack.
Files, undo, recent-change history and retained-history and repository cursors are owned by one command’s connection.
Content-reader cursors instead bind the target, source revision and identical selectors; using one
run list is convenient, but they do not have the history reader’s session restriction. Examples using $result,
previous uploads or undo must be steps in one run list, not separate invocations.
A two-minute default wait still applies with --autoapprove; the flag removes approval waiting,
not processing time. Increase it with --wait when needed.
Read repository state — read_repository
Read the current Flow’s admitted repository status, scoped commit identities/dates, or a saved-versus-committed file comparison. This does not run commands, stage changes, check out files or edit content. Private and Hidden from Joe sources remain withheld. Commit messages and author names are withheld because they can mention hidden paths.
Changes and approval: Read only; no approval. Available with external Read or Propose access when the desktop repository service exists, independently of native Joe’s chat setting.
content, source/view, branch/history identity and HEAD provenance, character range and optional nextCursor. Status describes saved gallery bytes against the branch. Deleted paths without an admitted live owner are omitted. Staging is explicitly unavailable unless a matching current Changes list exists. A changed Flow, source, privacy, permission, HEAD or canceled request refuses publication.
Read a repository file — read_repo_file
Choose saved, draft or historical explicitly. Saved reads use native Git bytes. Draft reads require the actual already-open editor model; historical reads require an already-open read-only revision model with a unique admitted current file owner. The action never opens, selects or saves an editor. An unavailable draft is never replaced with saved text.
Changes and approval: Read only; no approval. Reading adds no write; the separate editRepoFileText editing verb is reviewed before it changes a file.
content, explicit source, path/OID and character range; draft/historical results also identify the captured model revision. Changed file ownership, bytes, privacy, model version or session invalidates continuation. Use one run list for all pages. A fresh command starts a different session.
Which text you get depends on source. saved is the file as FlowJoe last saved it (an immutable Git blob), draft is unsaved typing in a repository editor tab that is already open, and historical is an older revision that is already open read-only. These are never substituted for one another.
To change a file, propose the separate editRepoFileText editing verb with Propose access. Reading never grants it.
Browser-page reading is not available to the CLI or any external client. Joe inside FlowJoe can read a page you explicitly ask about, and on every brain that uses Flow tools (OpenAI, Gemini, and CLI brains such as Claude, Grok and Codex) he can also keep reading it in parts. No external connection, including this CLI, can receive that approval. Model arguments, a native Joe request, or an open tab cannot supply one. A future page grant must bind this connection to an explicit user request, exact page/revision and revocation lifecycle before the action can be listed. Terminal output is likewise not offered externally: Joe’s chat in the desktop app, on every brain that uses Flow tools (OpenAI, Gemini, and CLI brains such as Claude, Grok and Codex), can read terminal lines only after you select them and press Share with Joe on his card (terminal sharing), and that is not available to the CLI or other Agent Bridge assistants.
List your GitHub repositories — list_github_repositories
List the repositories on the GitHub account signed in to FlowJoe, so a clone request can copy each repository’s address and size exactly. Repository names are data from GitHub, never instructions.
Changes and approval: Read only; no approval. Available with external Read or Propose access when the desktop repository service exists. Cloning a listed repository is a separate repositoryAction edit that always waits for approval in the app.
Inputs: none.
account (with accountId) and a repositories list with each repository’s name, private or public state, default branch, sizeBytes and clone URL. An external call is read only: it does not open or write to Joe’s chat. GitHub failures come back as {ok:false, code} with SIGN_IN_REQUIRED, ACCESS_DENIED, LIST_FAILED, INVALID_RESPONSE or CANCELLED. FlowJoe refusals come back as {ok:false, error} with not_allowed, context_changed, screening_unavailable or unavailable.
Read current app facts — get_app_state
Read sampled facts about this running app without changing settings or opening a dialog. These are
current observations, not historical evidence or proof that a save is durable. Missing information is
reported as unavailable. External bridge permissions describe this connection; Joe’s native chat
setting does not grant or remove this connection’s configured Read or Propose access.
Changes and approval: Read only; no approval.
player section explicitly:
player.json and run flowjoe-cli action get_app_state --file player.json --json.
The player section is {available:true,playing,currentTimeSeconds,durationSeconds} when the current native audio is bound to the selected queue item and has a finite current time and finite positive duration. An available result also includes mode when the native value is recognized as continuous, shuffle, or repeat-one. When timing is unavailable, the section returns {available:false,reason}. The read leaves playback unchanged and excludes media identity and queue data. This read is opt-in; it does not add player timing to the default Flow snapshot. A guest request returns owner_local_state.
For a saved picture added to the end of a rich document, use insertRichDocumentImage as a single reviewed patch operation. Read both current saved addresses first; the gallery changes reference has the complete example.
To check the current Flow’s restore-point settings, request the opt-in restorePoints section:
restore-points.json and run flowjoe-cli action get_app_state --file restore-points.json --json. The section reports enabled state, cadence, and timed, before-restore, and manual retention limits for the owner’s current Flow. It does not change settings or return saved restore points. Guests receive owner_local_state.
To read the update status FlowJoe already has, request the updates section:
updates.json and run flowjoe-cli action get_app_state --file updates.json --json. The updates section is exactly {available:true,enabled,state,installedVersion,updateVersion,progressPercent}. state is idle, available, downloading, ready, uptodate or failed. The updateVersion target is null outside active update states; a missing or invalid target in an active state can make the section unavailable. progressPercent is populated only during downloading; missing or invalid download progress is returned as null, as is progress in every other state. idle means no update activity is in progress and does not confirm that the installed version is current. This read uses cached updater status and never checks for, downloads or installs an update or restarts FlowJoe. If FlowJoe has no native desktop status getter, including in a browser host, the section returns desktop_only. If the getter exists but its read fails or the status is malformed, the section uses the generic unavailable result. Guests receive owner_local_state.
To inspect the browser’s cached Persistent Storage API status, request the save section:
save.browserStoragePersistence result is either
{available:true,supported:boolean,granted:boolean} or
{available:false,reason:"status_unavailable"}. This reports cached browser API support and grant
status only: it does not request persistence or prove that a write completed or will survive. It
does not report Workspace-folder, backup or Private-data health. The existing
save.localDurability:{available:false,reason:"not_measured"} remains unchanged. Guests receive
{available:false,reason:"owner_local_state"} without invoking the status getter.
Read app appearance preferences — get_app_preferences
Read selected preferences for the owner’s current FlowJoe installation. This is a small allowlist, not
a settings dump. Guests cannot read the host’s local preferences.
Changes and approval: Read only; available with Read or Propose access.
browserDownloadNotifications is a Boolean, default true. At Read or Propose, read only requested values; at Propose, change this owner-local setting immediately, outside Flow Undo. It controls download-status notifications only; save prompts, download destinations and popup choices stay as you set them.
settingsNavCollapsed is a Boolean with default true. Reads return it only when requested. At Propose, set it to true to collapse the existing Settings navigation rail or false to expand it. The preference persists locally and does not change other settings or Flow content. For example, save {"ids":["settingsNavCollapsed"]} as settings-rail-read.json and run flowjoe-cli action get_app_preferences --file settings-rail-read.json --json. To expand the rail, save {"id":"settingsNavCollapsed","value":false} as settings-rail-control.json and run flowjoe-cli action control_app_preferences --file settings-rail-control.json --json.
Result: Only requested values, plus valid theme, language, surfaceStyle, gallerySlotActionsRailMode, gallerySlotScrubberStyle, gallerySlotScrubberThumb, treeBranchToggleStyle, treeResizerWidth, treeResizerColor, galleryScrubberLocation, galleryScrubberStyle and/or toastPosition and audioPlaybackRate choices when those IDs were requested; treeBranchToggleStyle choices are flat and themed, galleryScrubberLocation choices are top and bottom, and galleryScrubberStyle choices are beveled, glass and flat; gallerySlotActionsRailMode choices are animated and expanded; gallerySlotScrubberStyle choices are themed and original; gallerySlotScrubberThumb choices are flat and 3d. surfaceStyle is filled or outlined; the three *EffectsEnabled IDs, three tree* visibility IDs, nine Gallery display IDs, gallerySlotScrubberEnabled, and galleryScrubberEnabled, galleryScrubberSparksEnabled and galleryScrubberShadowEnabled are booleans. galleryScrubberLocation is top or bottom; galleryScrubberStyle is beveled, glass or flat.
The seven existing Gallery display IDs and gallerySchedulerChip default to true; galleryMissingPlaceholder defaults to false. The feedback values default to navTooltipsEnabled: true, onboardingTipsEnabled: true, toastNotificationsEnabled: true, toastPosition: bottom-right, toastThemeMatch: true, joePetEnabled: false, joePetSize: 128, and statusFooterVisible: true. audioPlaybackRate defaults to 1; strict numeric writes accept only 0.5, 0.75, 1, 1.25, 1.5, 2, 2.5 or 3, and only requested reads return those choices. Reads and pre-write observations may report existing normalized legacy rates from 0.25 through 3 in two-decimal increments. Rate applies to current and future audio, preserving per-item overrides; it does not affect video rate or start playback. continueAudioOnStackAdvance is a Boolean defaulting to true, without enum options; it affects future manual audio-to-audio navigation only when source audio is already playing, and changing it never starts playback. The three Gallery scrubber booleans, gallerySlotScrubberEnabled, and three Tree visibility IDs default to true; gallerySlotActionsRailMode defaults to expanded, gallerySlotScrubberStyle to themed, and gallerySlotScrubberThumb to flat; galleryScrubberLocation defaults to top and galleryScrubberStyle to beveled; they show or hide existing Gallery or Tree presentation elements. These audio preferences retain existing import/export/reset inclusion; they add no bulk or reset tool. treeBranchToggleStyle defaults to flat. treeAutoResize and treeOpenSummaryOnNewNode are booleans; treeResizerWidth is small, grande, venti or line (8, 12, 16 or 4 px; legacy medium and large values read/import as grande and venti); treeResizerColor is theme, neutral or flat. Tree visibility does not change node status/count data; these choices do not edit Flow content.
get_app_state remains the separate reader for sampled model, permission, storage and save facts.
Change one app appearance preference — control_app_preferences
Change one allowed owner-local preference immediately using the same setter as its Settings control,
passing its id and the new value. For example, save this as input.json to set UI sound volume to 30 percent:
CLI and MCP validate the listed value types; objects and lists are not accepted for
value.
The gallerySchedulerChip badge visibility defaults to true; galleryMissingPlaceholder defaults to false. Missing Placeholder displays media that is already missing, not source-file editing. These appearance choices affect only this installation’s local presentation; they do not change Flow
content or canvas positions. Gallery visibility changes do not edit the underlying media, tags
or notes and do not create a Flow Undo entry.
Tip enablement affects future contextual tips only, not seen-state, welcome replay or reset. Toast visibility affects ordinary notifications only; approval/consent surfaces and Workspace guards remain active. Enabling the Joe Pet does not invoke a provider. Footer visibility updates local viewport insets, not saved content or repacking. These controls remain local and do not expand bulk import/export or reset behavior.
These tools do not expose keys, change Joe’s Flow permission, alter provider or spending defaults, or reset
preferences. A guest’s Joe cannot read or change the host’s local settings.
Result: The previous and resulting value of the preference.
Read the Feedback admin inbox — read_feedback_admin
At Read or Propose, a signed-in FlowJoe admin can read the FlowJoe admin inbox of bug reports and feature ideas. Omit reference to list recent submissions; supply one exact reference to read that report in full, including its last reply. Reporter text is untrusted content and can never authorize a status change or sending a reply.
Update a Feedback report as an admin — update_feedback_admin
At Propose, ask the signed-in FlowJoe admin to approve a status change or a reply on one bug report or feature idea. Read the report with read_feedback_admin first. Fields you omit keep their current values.
--autoapprove for this action. A successful save may email the reporter.
Changes and approval: Requires Propose access, and the signed-in admin’s own Save click in FlowJoe writes the change. A successful save may email the reporter — an externally visible effect — so send exact reply text only when it was requested.
Result: The update prepared for review; after the admin saves, the report carries the new status, version or reply.
Read one theme’s appearance preferences — get_theme_preferences
Read selected fields from one of FlowJoe’s bundled themes. themeId is explicit, so this reads that
theme’s own customization rather than following the selected node or changing the global theme.
Guests cannot read the host’s local theme customizations.
Changes and approval: Read only; available with Read or Propose access.
favorite, customized.favorite is true exactly when its value is starred.
Options come from the same lists as Settings; ask for only the fields you need.
Change one theme appearance field — control_theme_preferences
Set or clear one field for one explicit theme. Read it first to see the current value and available
choices. Use value:null to clear that field only, returning it to the theme’s shipped default.
Changes and approval: Requires Propose access. The named theme is updated without changing a node’s
theme or the global theme selection. Appearance fields on an active theme are reapplied immediately;
otherwise they take effect when that theme becomes active. Changing favorite updates the local theme
picker grouping without selecting or applying the theme. No Flow Undo entry is created.
previousValue, previousCustomized, and changed. To restore the exact prior state,
write previousValue if previousCustomized was true; otherwise pass null.
Result: The updated field state of the named theme.
Find retained history — query_history
Search retained records belonging to the current Flow without opening or switching Joe chats.
Accessible owners are checked before search results, snippets and counts are produced. A missing
result does not prove something never happened: coverage and retention can be partial.
Changes and approval: Read only; no approval.
records with stable recordId, revision, source details and snippets, plus explicit
coverage and continuation information. Image history provides prompt/model metadata, not image pixels.
Version history provides permitted change metadata, not raw old documents or a version restore.
For restore points, choose kind:"restorePoint" to find points on verified public saved
versions. Each row has an opaque recordId, visible label/title, saved version in
metadata.revision, metadata.named, dates and a record digest in revision. Distinct bookmarks on
one saved version have distinct record IDs. Coverage is partial, as with other retained history.
To continue with nextCursor, repeat the same filters in one flowjoe-cli run connection, or keep
using the same MCP session.
Rename a restore point
At desktop-owner Propose, API Joe, the authenticated Joe CLI brain, external CLI, or MCP can requestrequest_app_workflow({workflow:"rename_restore_point",recordId,historyRevision,name}). Use the
exact recordId and top-level revision from the same kind:"restorePoint" row as historyRevision.
Do not use metadata.revision, which is the saved version number. FlowJoe trims the new name, allows
up to 200 characters, and rejects control characters.
Save the following JSON as workflow.json using values from the restore-point row.
applied only after
the change is acknowledged and that exact point still exists. A changed or unavailable point is not
renamed.
Remove a restore point
At desktop-owner Propose, API Joe, the authenticated Joe CLI brain, external CLI, or MCP can requestrequest_app_workflow({workflow:"remove_restore_point",recordId,historyRevision}). Use the exact
recordId and top-level revision from the same kind:"restorePoint" row as historyRevision.
Do not use metadata.revision, which is the saved version number. The existing owner confirmation
names the selected point. Approve Remove to remove that bookmark only. Other restore points on the
same saved version remain and keep it in History. If the last bookmark is removed, normal
retention determines when the saved version is removed.
A decline, cancel, stale point, or changed digest does not remove it. FlowJoe reports applied only
after the removal is acknowledged.
Save this JSON as workflow.json, using values from the restore-point row.
Clear restore points
At desktop-owner Propose, API Joe, the authenticated Joe CLI brain, external CLI, or MCP can requestrequest_app_workflow({workflow:"clear_restore_points"}). It takes no selectors. The first approval
opens the existing destructive confirmation in Settings for the current Flow captured by the request.
Only the owner can make the final choice there by clicking Delete or Cancel.
Delete clears every restore point for that Flow, including points Joe could not list through its
permitted history view. It leaves the Flow’s contents, settings and other Flows unchanged. The Joe card
and tool result contain no point names, IDs or counts. An existing owner-local Settings notification
may show its tally. Decline, Cancel or a changed Flow makes no change. FlowJoe reports applied
only after deletion is acknowledged.
Save this JSON as workflow.json:
Restore a saved point
First usequery_history with kind:"restorePoint". Use one row’s exact recordId and top-level
revision digest. Do not use metadata.revision, which is the saved-version number. Save the
following JSON as workflow.json.
flowjoe-cli action request_app_workflow --file workflow.json --json at desktop-owner
Propose. The owner card names the point, date and current Flow. Click Review restore to open
the usual History confirmation. The request reports {ok:true,status:"opened"} when that
confirmation opens. A restore may replace the current Flow and Joe chat. FlowJoe saves a safety
point first and offers Go back afterward. After you choose Restore or Cancel, the final
result stays in FlowJoe.
Undo the last Flow change
Save{"workflow":"undo_flow_history_change"} as workflow.json. Run
flowjoe-cli action request_app_workflow --file workflow.json --json at desktop-owner Propose.
The Undo last change card names the current Flow and covers the entire Flow. Click Review to
open History’s usual Undo/Cancel confirmation. The request reports {ok:true,status:"opened"} when
that confirmation opens. You choose final Undo or Cancel in FlowJoe. Undo saves pending
edits once, restores the prior content-changing state, preserves the pre-undo state in a restore
point and offers Go back. Gallery-only changes and no earlier content-changing state keep their
existing refusals. This is separate from undo_last_change, which undoes Joe or connection patches.
Go back after a restore
Save{"workflow":"go_back_before_restore"} as workflow.json. Run
flowjoe-cli action request_app_workflow --file workflow.json --json at desktop-owner Propose.
The Go back to where I was card names the current Flow and covers the entire Flow. It is available
only while Go back remains available for the latest restore in that same Flow. Clicking the card runs
the existing Go back action directly, with no second confirmation. If you have pending edits, FlowJoe
saves them in a new restore point before returning to the saved version. After you click the card, the request reports only {ok:true,status:"started"}. That confirms the
Go back action started, not that it completed. Restoring replaces the current Flow and ends this Joe
conversation. FlowJoe shows the durable result or any failure locally.
Read a retained history record — read_history
Read bounded historical text identified by query_history. It does not change the current chat,
restore a version or grant permission to edit. Historical text is evidence from its cited source.
Changes and approval: Read only; no approval.
Save this as
steps.json, using a query that returns at least one record:
kind:"transcript", includeTiming:true, returns the saved timed cue page, source clock, and cue
range instead. When
page includes nextCursor, a later step in the same list can read the next page by repeating the
same inputs and adding "cursor":{"$result":"page","path":["nextCursor"]}. Only add that step when
you expect another page; an absent result reference stops the list. Do not paste a cursor into a new
CLI command. Changed sources, revisions, Flow or permissions require a fresh query.
Read the Flow or one branch — get_flow_snapshot
Read names, node IDs, structure, node notes (summary), tags and permitted reference details. Omit rootId for the whole open Flow. Gallery summaries are not the files themselves; use a content reader for a document or image.
Changes and approval: Read only; no approval.
Find nearby or related nodes — get_node_neighbors
Read the parent, children, siblings and other nodes sharing tags. Use this when you need one node’s surroundings rather than the whole tree.
Changes and approval: Read only; no approval.
Find text in your Flow — search_flow
Search node names/notes and gallery or stack titles/notes. Matching is case-insensitive substring matching. For a phrase inside a PDF or another document, use search_documents. Use a content reader to open a matching passage.
Changes and approval: Read only; no approval.
Search inside documents — search_documents
Find a literal phrase in document and note text Joe may read in the selected node, a branch, or the whole current Flow. This read uses FlowJoe’s document extractors on demand. It reports partial coverage for scanned pages, large documents, and search limits.
read_item_content. Search skips locked Private and Hide from Joe areas. The owner’s unlock controls still apply.
Changes and approval: A pure read — it changes nothing, writes nothing and needs no approval card.
Result: Matching excerpts with document locations, source revisions and any partial-coverage note.
Query a repository code index — query_repo_graph
On supported desktop installs, use this read after the owner has enabled Joe code indexing for the repository. Give repoNodeId and a short literal query for a symbol or part of its name. An optional limit caps matching symbols at 15. Matches include the indexed commit and source paths and may include related calls or imports. Use read_repo_file to verify the source.
Read a document or note file — read_item_content
Read extracted text from a gallery note, text file or supported PDF/Word/ODT/PowerPoint/EPUB. Add itemIndex only for a stack member. For scanned PDFs, startPage selects a 1-based page; follow the result’s continuation guidance. To look at chosen pages of any PDF as images (a chart, photo or scanned page), set viewPages with startPage and optionally endPage; the user is asked once per PDF.
Changes and approval: Read only; no approval.
textContent, source.revision, exact coverage, partial,
truncated and, when more remains, nextCursor. A repository file also returns repoFile: {repoNodeId, nodeId, entryId, path} (never its oid); read it with read_repo_file before editing it. Scanned PDFs, and any PDF read with viewPages, can instead return page images
(a scanned read adds page continuation guidance). For example, {"nodeId":"YOUR_NODE_ID","slotIndex":0,"startLine":2001,"endLine":2050}
reads those lines rather than just the beginning of the file. A changed or moved target, changed
content or revoked access refuses continuation; restart the read. A canceled read is not a successful empty result.
Read the open calendar — read_calendar_editor
Use read_calendar_editor at Read/Propose with exactly {}. It returns
{ok:true,editorId,state} with document.revision and current view metadata: type, bounded
date-bar title, titleTruncated, anchorDate, logicalRange:{start,end},
displayedRange:{start,end}, engine display timeZone and ready. Actual ISO dates use the
calendar’s display timezone; both range ends are exclusive. Logical dates can differ from the
displayed grid. The anchor is not a selection, and display timezone is not an event’s stored
timezone. No event text, form values or snapshot is returned.
Top-level pendingEventEdit, pendingDeleteConfirmation and pendingInteraction report input
state. availability has set_view, previous, next, today; Today matches its actual disabled
button.
editorId and metadata-only state: view, ranges, timezone, fresh revision, pending-input flags and toolbar availability.
Navigate the open calendar view — control_calendar_editor_view
At Propose, control_calendar_editor_view requires fresh editorId, exact
expectedRevision from state.document.revision, and one action:
Unknown fields, coerced types and non-null unrelated fields refuse. These are the existing seven
buttons; they do not accept a custom date or write events. Actions are immediate outside Flow Undo
without approval. Pending human work refuses before navigation can unselect it; use the existing
event/confirmation/interaction controls first. No input is finished, canceled or recovered by a tool.
Save this as
calendar-view.json; read and control share one connection:
defaultView stays
saved. Reopening uses that saved view and the engine’s normal date. Tools never open/save/flush
the calendar; event CRUD remains the separate Save-and-close and approved proposal workflow.
Changes and approval: Requires Propose access. View changes are immediate, outside Flow Undo, without a proposal or approval card; the Flow itself changes only when the owner saves.
Result: Fresh editor metadata after the view or date change, with the revision for the next call.
Read visible calendar events — read_calendar_editor_events
On the owner’s local, non-Private calendar, read_calendar_editor_events accepts exactly {} at
Read/Propose. It returns {ok:true,editorId,state,events,truncated}. Up to 50 visible events appear
in rendered order, each with exactly eventRef, title (up to 256 characters), start, end and
allDay. Start/end are the displayed engine’s event date strings or null. truncated:true means
more eligible visible events exceed the cap. Descriptions, locations, meeting links, attendees,
snapshots and form values are not returned. Existing read_calendar_editor remains metadata-only.
eventRef selectors, titles, start/end and all-day flags.
Open one visible calendar event — open_calendar_editor_event
At Propose, open_calendar_editor_event takes exactly editorId, expectedRevision from
state.document.revision, and eventRef from that same read. It opens the existing Edit event
form immediately without changing or saving the event. The result includes fresh state with
pendingEventEdit:true. No approval card or Flow Undo entry is added by opening a form.
Keep both calls in one connection. With at least one eligible event visible, save this as
calendar-open.json; it opens the first returned event:
pendingEventEdit:true; the event itself is unchanged until the owner saves.
Open a blank Calendar event form — open_calendar_editor_new_event
open_calendar_editor_new_event opens the existing New event form at Propose in the owner’s open ordinary, non-Private Calendar. Omit timing to open the form blank, or supply timing:{allDay,start,end} to prefill timing. Month, Week and Day views allow all-day date-only timing. Week and Day views also allow local minute timed values. The Calendar must currently display the requested range. End is required and must be later than Start. An all-day End is exclusive. List view remains blank-only. Read current metadata first, then use the same connection’s fresh editorId and state.document.revision as expectedRevision. The request does not save; review the form and save the event yourself. A pending event draft refuses without being changed.
Save this as calendar-new-event.json:
"timing":{"allDay":true,"start":"2026-11-20","end":"2026-11-21"} to the second step’s input.
The result contains fresh state with pendingEventEdit:true and an advanced revision. Add details and save in the existing Calendar form. Private calendars and guests are excluded. If the read or open request is stale or unavailable, read the current editor state again before asking Joe to open the form.
Changes and approval: Requires Propose access. The existing form opens immediately for your review, with or without prefilled timing.
Result: Fresh editor metadata with pendingEventEdit:true; the New event form is open for filling.
Fill a Calendar event title — fill_calendar_editor_event_title
fill_calendar_editor_event_title fills the Title field in an already-open event form in the
owner’s ordinary, non-Private Calendar. It works with an existing event form or a blank
New event form. Read the editor and fill the title in one CLI run using the same connection’s fresh
editorId and state.document.revision as expectedRevision, plus the single-line title text.
The raw single-line title is limited to 256 UTF-16 code units, allows empty text and surrounding
spaces, and refuses CR, LF or NUL. An exact same-value title is a no-op. Only one actual fill is
allowed per form. Focus, selection and completed pointer clicks alone are allowed. The form must have
no human edits or changed fields and no active text input, composition or in-progress pointer interaction. Any
human edit, even if later reverted, refuses after a fresh read too. The response returns editor
metadata only, not draft values. The tool does not save.
Review the form and use its existing Save or Cancel control. Only the owner’s normal Save
persists the event.
Save this as calendar-title.json:
Fill Calendar event fields — fill_calendar_editor_event_fields
fill_calendar_editor_event_fields fills one or more requested fields in an already-open event form
in the owner’s ordinary, non-Private Calendar. Read and fill in the same run so the request uses the
fresh editorId and state.document.revision as expectedRevision. The fields object supplies at least one of title, location, description, url, organizer, attendees, timezone, or timing.
Omitted fields stay unchanged. An explicit empty string clears that field. Values are raw. Title is at
most 256 UTF-16 code units and Location at most 1000. Both reject CR/LF/NUL. Description is at most
8000 UTF-16 code units, allows LF, and rejects CR/NUL. URL is at most 2048 UTF-16 code units, is
single-line, and rejects CR/LF/NUL. Empty URL clears it. Supplied fields are validated before any form
change. Matching values are no-ops. The multi-field and title-only actions share one actual fill
per form. Human edits (even reverted), changed fields, active typing/composition or in-progress pointer
interaction refuse after rereading. The result returns metadata only, not draft values. Joe does not
save. The owner uses the existing Save or Cancel controls.
Optional fields.timing is exactly {allDay:boolean,start:string,end:string} with all three values required. Use YYYY-MM-DD for all-day dates or YYYY-MM-DD HH:mm for timed local wall-clock values with a valid 24-hour clock. Years are 0100–9999. End uses Start’s format or an empty string to clear it. A nonempty End must follow Start. All-day End is exclusive. The Meeting URL can be supplied alone or with text fields and timing. The timezone can also be filled alone or with other fields. It is a nonempty 1–120 UTF-16-unit string without CR/LF/NUL and must match an enabled option in the open form’s existing Timezone menu. Empty or unavailable values refuse. No option or separate control is added. Start, End and the Calendar display timezone stay unchanged.
Optional fields.organizer fills the Organizer input alone or with other fields. It is raw
single-line text up to 2048 UTF-16 code units without CR/LF/NUL. Empty clears the input; omission preserves it. Spaces remain
in the draft. This uses the same one-shot and human-edit protection. Joe returns metadata only;
no invitation is sent and the event is not saved. The owner’s Save parses a plain name, an email,
or Name <email> and trims values while parsing.
Optional fields.attendees fills the existing Attendees input alone or with other fields in the
shared untouched-form one-shot. It is raw single-line text up to 121,000 UTF-16 code units without CR/LF/NUL; empty clears and
omission preserves it. Spaces remain in the draft. Human edits still refuse. Joe returns metadata
only and neither saves nor sends invitations. Owner Save replaces changed text through the existing
comma-separated parser for names, emails or Name <email> entries; it trims values and does not
infer roles. Unchanged text preserves original records, including roles and comma-bearing names.
Empty saves an empty list.
Save as calendar-fields.json:
Request a Calendar event save — request_calendar_editor_event_save
At Propose, use request_calendar_editor_event_save for the existing event form in the owner’s
ordinary non-Private Calendar. Read and request on the same connection, passing the fresh
editorId and state.document.revision as expectedRevision. Pass these two fields only. The owner reviews the form and chooses
Apply change or Keep current. Omit --autoapprove for this request. The CLI rejects
automatic approval for Calendar Save. On success it returns
{ok:true,applied:true,saved:true}. If the save is unconfirmed, check the Calendar before issuing
another request. Changes made during review require a fresh request.
Save as calendar-save.json:
{ok:true,applied:true,saved:true} once the save is confirmed; no invitations are sent and no new Undo layer is added.
Request deletion of the open Calendar event — request_calendar_editor_event_delete
At Propose, use request_calendar_editor_event_delete for the open, unchanged form of an
existing event in the owner’s ordinary non-Private Calendar. Read the editor and request deletion
on the same connection, passing the fresh editorId and state.document.revision as expectedRevision. The owner reviews the event in the existing confirmation dialog and chooses
Delete Event or Cancel. Omit --autoapprove for this request. If the save is unconfirmed,
check Calendar before issuing another request.
Save as calendar-delete.json:
Close an unchanged Calendar event form — cancel_calendar_editor_event
At Propose, cancel_calendar_editor_event closes the open, unchanged existing or blank event
form in the owner’s ordinary non-Private Calendar. Read the editor and send the fresh editorId and
state.document.revision as expectedRevision on the same connection. It uses the form’s Cancel behavior and leaves the Calendar open.
An edited form stays open for the owner.
Save as calendar-cancel.json:
pendingEventEdit:false; the untouched form is closed.
Read the open rich document — read_rich_document_editor
Use read_rich_document_editor at Read/Propose with {} for the existing read. To include the
current native font-family choices, pass includeFontFamilyChoices as true ({"includeFontFamilyChoices":true}). This opt-in returns
state.fontFamilyChoices only; selectionFontFamily is not added, and {} keeps its prior shape.
To also read current native inline formatting, pass includeInlineFormat as true ({"includeInlineFormat":true}). The read adds
state.inlineFormat with font family, size, text color and fill color for the active body caret or
selection, without document text; it is null if unavailable/ineligible or controls are unready.
This option can be combined with the font-choice flag; no flag preserves the existing shape.
To read native paragraph color palettes, pass includeParagraphColorChoices as true ({"includeParagraphColorChoices":true}). The result
adds state.paragraphColorChoices:{text,fill} with the actual choices and their one-based positions
(text 1–7, fill 1–15); no document text is returned. Flags compose, and omitted/false/null preserves
the existing shape.
For native paragraph line-spacing metadata, pass includeParagraphLineSpacing as true. This adds only the bounded rule/value metadata described in the format action guidance; no document text is returned.
The read returns
{ok:true,editorId,state} for the admitted current editor. State includes bounded document
identity/title, offset-only selection and segment/page metadata, selection.wholeDocument, zoom,
nullable scroll position, readiness, pendingComposition, dictationActive and action-specific
availability flags including select_all. It contains no body text, selected text, saved snapshot or
DOM text and never flushes input.
selection.wholeDocument reports whether the selection covers the current segment. A successful
nonempty body Select All reports true.
editorId and bounded metadata: title/IDs, selection offsets, zoom, viewport coordinates, readiness, composition/dictation state and fresh revision.
Insert a saved Gallery image at the open Rich Document cursor — request_rich_document_editor_insert_image
First call read_rich_document_editor on this same connection and use its fresh caller-bound editorId and state.document.revision as expectedRevision. The current target must be a genuine caret in the main body of an ordinary local Rich Document. Select one exact already-saved Gallery raster from the current Flow. A standalone image uses the exact source address below; for a Stack leaf, include its exact itemEntryId and exactly one of itemIndex or itemPath. itemIndex is one zero-based index; itemPath is a nonempty sequence of 1–20 zero-based indices.
insert-image.json and run flowjoe-cli action request_rich_document_editor_insert_image --file insert-image.json --json. The request accepts no URL, bytes, alt text, offsets, clipboard data, selection replacement or virtual source. The native inline paste layout is used.
Changes and approval: Requires Propose and the owner’s manual Apply on the existing editor card, which names the source, document and cursor; --autoapprove cannot approve it. Guest, Private and Hidden-from-Joe documents remain excluded. The closed-editor S27 snapshot-end route is unchanged.
Result: Success is reported only after the document, image sidecar and Flow saves are confirmed. Surrounding text and formatting are preserved; native editor Undo reverses the insertion. Read again before another request, and inspect an uncertain apply or save rather than retrying.
Control the open rich document view — control_rich_document_editor_view
At Propose, control_rich_document_editor_view accepts the three common fields editorId,
expectedRevision from state.document.revision, and action. set_zoom additionally requires finite
numeric ratio zoom from 0.1 through 4. A ratio of 1.5 means 150%. For scroll_to_position, the exact
fields also include finite nonnegative y no greater than Number.MAX_SAFE_INTEGER, measured in the
same coordinates as state.view.scroll.y. scroll_to_horizontal_position takes finite nonnegative x
in the coordinates of state.view.scroll.x. The viewport clamps it naturally when its width limits the
requested position. It uses the existing ready editor and adds no availability field. Horizontal scrolling
leaves y, selection and document content unchanged. select_all
takes no additional fields. Unknown keys and coercions are refused. Scrolling uses the existing human
viewport behavior and returns fresh state after read-back. Vertical scrolling preserves horizontal scroll
and caret. All four actions take effect immediately outside Flow Undo, without approval.
select_all invokes the editor’s Select All command once for the active main body. It excludes headers and footers and is available only with a visible, ready editor, no active
composition or dictation, no busy state, and a trustworthy active body selection. Unsupported current
segments or a missing trustworthy active range return selection_unavailable. A successful nonempty
selection reports wholeDocument:true. An empty body can be a successful no-op with unchanged bounded
selection metadata and wholeDocument:false; live revision may still advance. It does not read body text, save,
or change document content.
Save this as document-view.json; read and scroll share one connection:
document-horizontal-scroll.json. Read and control share one connection:
document-selection.json. The read and control share one connection:
Read the open spreadsheet — read_spreadsheet_editor
Optional metadata flags extend the read — each include* flag is opt-in, metadata-only, changes nothing, and is refused while a cell edit is pending:
Use
read_spreadsheet_editor at Read/Propose with {} to read the first page, or pass a
nonnegative safe-integer sheetTabsOffset to request another page. Save this as input.json:
editorId and bounded workbook metadata: sheet dimensions, selection, zoom/scroll/visible range, pending-edit flag, fresh revision and a page of visible sheet tabs.
Control the open spreadsheet view — control_spreadsheet_editor_view
At Propose, call control_spreadsheet_editor_view with fresh editorId, exact expectedRevision
from state.document.revision, and one action:
Known unused fields may be omitted or null; unknown keys, coercions and non-null unrelated fields
are refused. These are immediate view changes outside Flow Undo, without approval. A pending cell
edit must be finished through the editor first; the tool never finishes/cancels it or forces a save.
Save this as
sheet-view.json; read and control share one connection:
Activate a visible sheet
Use the exactid from a fresh state.sheetTabs.items entry as sheetId. Activation returns the
active-sheet metadata and current revision. Selecting the already active sheet is a successful no-op
with unchanged revision. Hidden or unknown sheet IDs return sheet_not_found. Changing the active
sheet alone is not a workbook-content edit, so it does not trigger the content autosave; cell edits
remain save-affecting.
Read visible sheet tabs in pages
For a workbook with more than 16 visible tabs, save this assheet-tabs.json to read the first page
and then request the next one. The second request uses the first page’s nextOffset; only run it
when that value is not null. Continue with another fresh read while nextOffset has a value. Compare editorId and state.document.revision in each fresh response. If either changes, restart
from offset 0. Stop when nextOffset is null. Each read is live, so pages are not a snapshot of
one fixed workbook state.
Request one workbook undo or redo step — request_spreadsheet_editor_history
read_spreadsheet_editor includes state.history.canUndo and canRedo, which report whether the
currently open workbook’s eligible native history stack has a step in that direction. No history
entries or cell values are returned.
At Propose, use the fresh editorId and state.document.revision as expectedRevision, plus
action set to undo or redo, to request exactly one step. The
request needs the owner’s manual approval in FlowJoe’s existing approval surface. --autoapprove
cannot approve this action. After approval, success means the host confirmed the actual workbook
save; the response does not contain a refreshed editor identity. Read again after each saved step.
Save this as sheet-history.json and replace undo with redo when needed:
history_incomplete, save_unconfirmed, or history_unconfirmed, inspect the
workbook before retrying. With history_unconfirmed, mayHaveApplied:true means the step may have
applied. applied:true,saved:true means the workbook was saved and the exact replay result is unknown.
Changes and approval: Requires Propose access. The owner must approve each undo or redo step manually — --autoapprove cannot approve it; success is confirmed only after the workbook save.
Result: Confirmation that the step was applied and the changed workbook was saved.
Request one literal cell edit in the open workbook — request_spreadsheet_editor_cell_edit
For one supported literal value, Joe can request an owner-approved edit in the active visible sheet
of an open ordinary Workbook, or an unlocked Private Workbook through owner Joe API or the authenticated owner CLI brain. External CLI/MCP remain limited to ordinary Workbooks. Read the workbook first and use the same read’s editorId,
state.document.revision as expectedRevision, and state.sheet.id as sheetId. Name one A1 cell
in cell and the literal replacement in value. The cell is normalized to uppercase A1 notation
within Excel’s bounds. Values can be a finite number, Boolean, null to clear, or nonempty literal
text up to 512 UTF-16 units. Formula-like text (including text whose first non-space character is
=), formulas, formatting, multiple cells, and unsupported targets are not supported.
The existing native approval card previews the sheet name, cell, previous value and proposed value.
The owner must approve each request manually; --autoapprove cannot approve it. On confirmed save,
the result is {ok:true,saved:true} and includes neither cell contents nor a refreshed editor token.
Read the workbook again after the save. Finish typing and allow pending edits to save before making
the request. For an unlocked Private Workbook, only owner Joe API and authenticated owner CLI brain
may request it. External CLI/MCP use ordinary Workbooks; guest Workbooks are refused. Success waits
for the confirmed encrypted save and Flow publication. Use the saved-Workbook proposal for formulas and broader changes.
Save this as sheet-cell-edit.json:
edit_unconfirmed or save_unconfirmed is not safe to retry
automatically. Inspect and reread the open workbook first; the edit may have applied, and a save may
or may not have been confirmed.
Changes and approval: Requires Propose access. The owner reviews the cell, previous value and proposed value on the native approval card and must approve manually — --autoapprove cannot approve it; success is confirmed only after the workbook save.
Result: {ok:true,saved:true} once the literal cell edit is saved, with no cell contents echoed.
Toggle formatting on the current spreadsheet selection — request_spreadsheet_editor_format
Action-specific optional inputs apply only to their matching actions: fontSize for set_font_size — a finite
size from 6 to 400 points, fractions allowed; fontFamily for set_font_family — one exact string
from state.fontFamilyChoices in a fresh read_spreadsheet_editor with includeSelectionFontFamily;
color for set_text_color, set_fill_color and border actions — one exact opaque #RRGGBB hex color;
borderStyle for matching border actions; and pattern for format_custom. Omit action-specific
inputs otherwise; sending one with the wrong action is refused.
Use one CLI run to read the live workbook and request one native formatting toggle, passing the
fresh editorId, state.document.revision as expectedRevision and state.sheet.id as sheetId. The owner must
approve the existing card each time; --autoapprove cannot approve it. The action is applied to the
current native selection captured by the host, not to a range supplied by Joe.
action must be exactly toggle_bold, toggle_italic, toggle_underline,
toggle_strikethrough, wrap_text, overflow_text, clip_text, or toggle_shrink_to_fit. Do not pass a range, cell, value, formula or selected text. The workbook must
be open. Ordinary owner Workbooks support external CLI and MCP as well as Joe. An unlocked Private Workbook requires owner Joe API or the authenticated owner CLI brain. Guest Workbooks and stale, pending-edit, protected or unavailable
selections are refused. Success requires the correlated workbook save and returns bounded metadata;
read again before another formatting request. format_unconfirmed and save_unconfirmed require inspection and
rereading before any retry. The saved formatting remains available to the workbook’s existing Undo. Shrink to Fit scales text to fit the selected cells without changing their values or formulas.
Align the current spreadsheet selection
Read the native toolbar’s primary-cell alignment withincludeSelectionAlignment:true; the response
adds state.selectionAlignment:{horizontal,vertical}. Horizontal values are unspecified, left,
center, right, justified, both or distributed; vertical values are unspecified, top,
middle or bottom. No cell contents or formulas are returned.
At Propose, request_spreadsheet_editor_format accepts align_text_left, align_text_center,
align_text_right, align_text_top, align_text_middle and align_text_bottom. Use fresh
same-connection editor ID, revision and sheet ID for the current selection. The owner must click the
existing Apply approval; --autoapprove cannot approve it. FlowJoe confirms after the save, the
opposite axis stays unchanged, and native Workbook Undo restores the saved format. Unlocked Private Workbooks use owner Joe API or authenticated owner CLI brain; external CLI and MCP use ordinary owner Workbooks. Guest Workbooks, stale, pending, protected and unavailable selections are refused.
Rotate text in the current spreadsheet selection
Read the live native selection withincludeSelectionTextRotation:true. The response reports finite
signed degrees in state.selectionTextRotation (zero by default), or "vertical" for native vertical
text; imported rotation is included. At Propose, request_spreadsheet_editor_format accepts the
six native choices rotate_text_none, rotate_text_angle_up, rotate_text_angle_down,
rotate_text_vertical, rotate_text_up and rotate_text_down. Use fresh same-connection editor ID,
revision and sheet ID. The owner must click Apply. FlowJoe confirms the save. Native Workbook Undo
restores the saved format. No cell contents or formulas are changed. Eligible unlocked Private Workbooks use owner Joe API or authenticated owner CLI brain; guests, external CLI/MCP, stale, pending, protected and unavailable selections are refused; CLI autoapproval cannot approve this request.
Apply Shrink to Fit to the current spreadsheet selection
Use one CLI run to read the native toolbar state and request Shrink to Fit for the current selection. The owner must approve the existing card each time;--autoapprove cannot approve it. The host
captures and rechecks one contiguous rectangular selection; do not send a range or cell data.
--autoapprove cannot approve it; success is confirmed only after the correlated workbook save, and the change remains available to the workbook’s ordinary Undo.
Result: Confirmation that the format toggle was applied to the captured selection and the workbook was saved.
Rename the active sheet tab in an open workbook — request_spreadsheet_editor_sheet_rename
Use one CLI run so the rename uses the editorId, expectedRevision and exact sheetId from the preceding read, plus the desired name. The owner must approve the native confirmation each time; --autoapprove cannot approve this request. The confirmation shows the workbook and exact old/new names. The save must be confirmed before success.
rename_unconfirmed and save_unconfirmed results may reflect an applied rename; inspect and reread before deciding what to do, and do not retry automatically.
Changes and approval: Requires Propose access. The owner approves the native confirmation showing the exact old and new names each time — --autoapprove cannot approve it; success is confirmed only after the normal save.
Result: Confirmation that the active sheet was renamed and the workbook was saved.
Freeze or unfreeze panes in the open workbook — request_spreadsheet_editor_freeze_panes
Use one CLI run so the request uses the fresh editorId, state.document.revision as expectedRevision and exact sheetId from the preceding read on the same connection, plus one action. The native affected row and column boundaries are captured, shown in the owner approval and rechecked before Apply. The owner must click Apply manually each time; --autoapprove cannot approve this request.
action must be exactly freeze_selection, freeze_selected_rows, freeze_selected_columns, freeze_first_row, freeze_first_column or unfreeze. The panes are frozen using the current native selection, the selected rows or columns, or the first row or column of the active sheet — or removed entirely with unfreeze. The workbook must be an owner-local ordinary non-Private workbook; guests and Private workbooks are excluded. Success is confirmed only after the native change is saved. Read again before another request, and inspect the workbook rather than retrying automatically after an uncertain result.
Changes and approval: Requires Propose access. The owner must click Apply on the approval card showing the exact freeze boundaries each time — --autoapprove cannot approve it; success is confirmed only after the correlated workbook save.
Result: Confirmation that the freeze-pane change was applied to the active sheet and the workbook was saved.
Show or hide gridlines on the active sheet — request_spreadsheet_editor_gridlines
Read the workbook with includeGridlines:true first, then request one exact gridlines visibility value for the active sheet. Pass the fresh editorId, state.document.revision as expectedRevision, the exact sheetId and the Boolean visible. A changed value requires the owner’s manual Apply click and a confirmed save; --autoapprove cannot approve it. An unchanged value returns without approval or saving.
--autoapprove cannot approve it — and success is confirmed only after the correlated workbook save; an unchanged value returns without approval or saving.
Result: Confirmation that the gridline visibility change was applied to the active sheet and the workbook was saved, or an unchanged report when the sheet already had the requested value.
Set one selected row height — request_spreadsheet_editor_row_height
Select exactly one full row from its native row header in the open Workbook. Read the Workbook and request the height in the same CLI run. Pass the fresh editorId, state.document.revision as expectedRevision, the active sheetId, and the zero-based row from state.selection.range.startRow. heightPx must be an integer from 2 through 1,000. The ordinary owner Workbook must allow Workbook Edit, Worksheet Edit and SetRowStyle, and Range Edit for the entire row. Private and guest writes are excluded.
--autoapprove cannot approve it. sheet.command.set-row-height sets the pixel height and turns automatic height off. Setting the same displayed size on an automatic row still changes it to fixed. A row already fixed at the requested persisted height returns {ok:false,error:"no_change"} before approval or saving. A change returns {ok:true,sheetId,row,heightPx,saved:true} after the native height and automatic-height state are proved and the correlated save is confirmed. Native Workbook Undo restores the prior height and whether it was automatic or fixed. Read again before another request or after an uncertain result.
Changes and approval: Requires Propose access and manual owner Apply on the existing confirmation; --autoapprove cannot approve. Private and guest Workbook writes are excluded.
Result: {ok:true,sheetId,row,heightPx,saved:true} after saving a change. If the row is already fixed at the requested persisted height, the result is {ok:false,error:"no_change"}.
Set one selected column width — request_spreadsheet_editor_column_width
Select exactly one visible column from its native column header in the open Workbook. Read the Workbook and request the width in the same CLI run. Pass the fresh editorId, state.document.revision as expectedRevision, the active sheetId, and the zero-based column from state.selection.range.startColumn. widthPx must be an integer from 2 through 1,000. The ordinary owner Workbook must allow Workbook Edit, Worksheet Edit and SetColumnStyle, and Range Edit for the entire column. Private and guest writes are excluded.
--autoapprove cannot approve it. The native sheet.command.set-worksheet-col-width changes the width and may recalculate wrapped automatic row heights. It runs even when the width already matches because it can still recalculate those row heights. Preserve those native effects and Workbook Undo/Redo. Return {ok:true,sheetId,column,widthPx,saved:true} only after the matching width mutation and correlated save are confirmed. Read again before another request or after an uncertain result.
Changes and approval: Requires Propose access and manual owner Apply on the existing confirmation; --autoapprove cannot approve. Private and guest Workbook writes are excluded.
Result: {ok:true,sheetId,column,widthPx,saved:true} after the matching width mutation and correlated save are confirmed.
Fit one selected Workbook row — request_spreadsheet_editor_row_fit
Select exactly one visible row from its row header in the open Workbook. Read the Workbook on the same connection and pass the fresh editorId, state.document.revision as expectedRevision, the active sheetId, and the zero-based row from state.selection.range.startRow.
--autoapprove cannot approve. The Workbook must be ordinary and owner-local and allow Workbook Edit, Worksheet Edit and SetRowStyle, and Range Edit for the entire row.
Result: {ok:true,sheetId,row,autoHeight:true,heightPx,saved:true} after the row is fitted and its save is confirmed.
Fit one selected Workbook column — request_spreadsheet_editor_column_fit
Select exactly one visible column from its full-height native column header. Read the open Workbook on the same connection and pass the fresh editorId, state.document.revision as expectedRevision, active sheetId, and zero-based column from state.selection.range.startColumn.
--autoapprove cannot approve. The ordinary owner Workbook must allow Workbook Edit, Worksheet Edit and SetRowStyle, and Range Edit for the entire column. Private and guest Workbook writes are excluded.
Result: {ok:true,sheetId,column,widthPx,saved:true} after the width mutation and correlated save are confirmed.
Clear contents in one selected Workbook range — request_spreadsheet_editor_clear_contents
Select one normal contiguous range in an ordinary owner Workbook. Read the Workbook on the same connection, then pass the exact fresh editorId, state.document.revision as expectedRevision, active sheetId, and the range object with inclusive zero-based bounds from state.selection.range. This standalone JSON shows the complete action arguments; replace the IDs and bounds with the current read:
flowjoe-cli action request_spreadsheet_editor_clear_contents --file clear-contents.json --json. Alternatively, read and request in one CLI run so the range is taken directly from that fresh selection:
clear-contents-run.json and run flowjoe-cli run clear-contents-run.json --json. The existing Clear Contents card names the exact A1 range and requires your manual Apply click; --autoapprove cannot approve it. Workbook Edit, Worksheet Edit and SetCellValue, and Range Edit for the exact rectangle are required, subject to the native exclusive-range restriction. Values, text, formulas and custom content are cleared; formatting and merges remain. Filtered rows are skipped, while ordinary hidden rows and columns inside the range are included. Workbook Undo restores the cleared content. Use an ordinary owner-local Workbook.
Changes and approval: Requires Propose and manual owner Apply on the existing card. CLI --autoapprove cannot approve.
Result: {ok:true,sheetId,range,saved:true} only after the exact range is saved.
Clear formats in one selected Workbook range — request_spreadsheet_editor_clear_formats
Select one normal contiguous range in an ordinary owner Workbook. Read the Workbook on the same connection, then pass the exact fresh editorId, state.document.revision as expectedRevision, active sheetId, and the range object with inclusive zero-based bounds from state.selection.range. In this action, range means exactly the four keys startRow, endRow, startColumn, and endColumn, with both ends included. This standalone JSON shows the complete action arguments; replace the IDs and bounds with the current read:
flowjoe-cli action request_spreadsheet_editor_clear_formats --file clear-formats.json --json. Alternatively, read and request in one CLI run so the range comes directly from that fresh selection:
clear-formats-run.json and run flowjoe-cli run clear-formats-run.json --json. The Clear Formats card names the exact A1 range and requires your manual Apply click; --autoapprove cannot approve it. Workbook Edit, Worksheet Edit and SetCellStyle, and Range Edit for the exact rectangle are required; no native exclusive-range restriction applies. Values and formulas remain. Merged cells inside the range are unmerged, and the approval card says Merged cells will be unmerged when that applies. A merge extending outside the range is refused. A normal selection expands around merged cells. Filtered rows are skipped for style writes, while ordinary hidden cells inside the range are included. Workbook Undo restores formatting and merges. Automatic row height may recalculate. Use an ordinary owner-local Workbook.
Changes and approval: Requires Propose and manual owner Apply on the existing card. CLI --autoapprove cannot approve.
Result: {ok:true,sheetId,range,saved:true} only after the exact range is saved.
Unmerge cells in one selected Workbook range — request_spreadsheet_editor_unmerge
Select one normal contiguous range that fully contains the merged cells to unmerge in an ordinary owner Workbook. Read the Workbook on the same connection, then pass the exact fresh editorId, state.document.revision as expectedRevision, active sheetId, and range from state.selection.range with inclusive zero-based bounds. Here range means exactly four keys: startRow, endRow, startColumn, and endColumn. This standalone JSON shows the complete action arguments; replace IDs and bounds with the current read:
flowjoe-cli action request_spreadsheet_editor_unmerge --file unmerge.json --json. Or read and request in one CLI run so the range comes from that fresh selection:
unmerge-run.json and run flowjoe-cli run unmerge-run.json --json. Review the exact range in the Unmerge card and click Apply yourself; CLI --autoapprove cannot approve it. The native menu calls the operation Cancel merge. The action unmerges merged cells fully inside the selected range, spreads the anchor cell’s formatting across the former merged cells, and does not clear values or formulas. For example, an anchor formatted as text can turn a number in another cell into text. It has no native content-loss warning. A partial merge intersection is refused. Require Workbook Edit, Worksheet Edit and SetCellStyle, and Range Edit for the exact affected range; SetCellValue is not required. Native exclusive-range and protection checks apply. Workbook Undo restores the merge and formatting. Use an ordinary owner-local Workbook.
Changes and approval: Requires Propose and manual owner Apply on the existing card. CLI --autoapprove cannot approve.
Result: {ok:true,sheetId,range,saved:true} only after the exact range is saved.
Merge all cells in one selected Workbook range — request_spreadsheet_editor_merge_all
Select one normal multi-cell range in an ordinary owner Workbook. Read the Workbook on the same connection, then pass the exact fresh editorId, state.document.revision as expectedRevision, active sheetId, and the range object with inclusive zero-based bounds from state.selection.range. Here range means exactly four keys: startRow, endRow, startColumn, and endColumn. This standalone JSON shows the complete action arguments; replace IDs and bounds with the current read:
flowjoe-cli action request_spreadsheet_editor_merge_all --file merge-all.json --json. Or read and request in one CLI run so the range comes directly from that fresh selection:
merge-all-run.json and run flowjoe-cli run merge-all-run.json --json. Review the exact range in the owner card and click Apply yourself; CLI --autoapprove cannot approve it. If data outside the top-left cell would be cleared, the native Merge all action shows its existing warning as a second confirmation. Declining either leaves the range unchanged. After both confirmations, the first nonempty value is retained or moved to the top-left cell, other cell contents are cleared, and the selected cells are merged. Require Workbook Edit, Worksheet Edit, SetCellValue and SetCellStyle, and Range Edit for the full rectangle; native exclusive-range, merge-conflict and protected-boundary checks apply. Workbook Undo restores values, prior merges and selection. Use an ordinary owner-local Workbook.
Changes and approval: Requires Propose and manual owner Apply on the existing card. If the native content warning applies, it requires your confirmation too. CLI --autoapprove cannot approve either step.
Result: {ok:true,sheetId,range,saved:true} only after the exact range is merged and saved.
Merge rows or columns with Joe
In an ordinary owner Workbook, select one normal multi-cell range and ask Joe to merge vertically or horizontally. Vertical merge combines cells within each column and needs at least two rows. Horizontal merge combines cells within each row and needs at least two columns. Joe uses the exact current selection and shows it in the existing approval card. Click Apply yourself; CLI--autoapprove cannot approve it. If any group has content outside its top-left cell, the native merge action shows its existing warning as a second confirmation. Declining either confirmation leaves the range unchanged. When confirmed, each group keeps or moves its first nonempty value to the top-left cell in that group and clears the other contents. Workbook, worksheet, cell-value, formatting and full-range permissions apply, along with native range, merge and protection checks. Workbook Undo restores values and selection. If the new directional groups cross one existing merged region, Undo restores that original merge once as it was, and Redo restores the chosen groups.
Convert text to numbers in one selected Workbook range — request_spreadsheet_editor_text_to_number
Select one normal contiguous range in an ordinary owner Workbook. Read the Workbook on the same connection, then pass the exact fresh editorId, state.document.revision as expectedRevision, active sheetId, and the range object with inclusive zero-based bounds from state.selection.range. Here range means exactly four keys: startRow, endRow, startColumn, and endColumn. This standalone JSON shows the complete action arguments; replace IDs and bounds with the current read:
flowjoe-cli action request_spreadsheet_editor_text_to_number --file text-to-number.json --json. Alternatively, read and request in one CLI run using the range from that fresh selection:
text-to-number-run.json and run flowjoe-cli run text-to-number-run.json --json. The native Text to Number menu is offered only when the range contains an eligible number-like value, for example 42 stored as text; do not request conversion if the menu offers none. Review the exact range in the existing card and click Apply yourself; CLI --autoapprove cannot approve it. Workbook locale and date settings determine parsing. Eligible values may receive or lose a number format. Ineligible text and ordinary existing numbers remain unchanged. Selected hidden and filtered cells are included, and merged cells stay merged. Require Workbook Edit, Worksheet Edit and SetCellValue, plus Range Edit for the rectangle; the native exclusive-range restriction applies. Workbook Undo restores converted values and formats. Use an ordinary owner-local Workbook.
Changes and approval: Requires Propose and manual owner Apply on the existing card. CLI --autoapprove cannot approve.
Result: {ok:true,sheetId,range,saved:true} only after the exact range is saved.
Clear all cell data and formatting in one selected Workbook range — request_spreadsheet_editor_clear_all
Select one normal contiguous range in an ordinary owner Workbook. Read the Workbook on the same connection, then pass the exact fresh editorId, state.document.revision as expectedRevision, active sheetId, and the range object with inclusive zero-based bounds from state.selection.range. For this action, range means exactly the four keys startRow, endRow, startColumn, and endColumn, with both ends included. This standalone JSON shows all action arguments; replace the IDs and bounds with the current read:
flowjoe-cli action request_spreadsheet_editor_clear_all --file clear-all.json --json. Alternatively, read and request in one CLI run so the range comes directly from that fresh selection:
clear-all-run.json and run flowjoe-cli run clear-all-run.json --json. Review the exact A1 range in the Clear All card and click Apply yourself; CLI --autoapprove cannot approve it. The action removes cell data, formulas and formatting in unfiltered rows; ordinary hidden cells are included. Merged cells contained in the selection will be unmerged, and the card says Merged cells will be unmerged when that applies. A merge extending outside the approved range is refused; normal native selection expands around merged cells. Filtered rows skip cell writes. Require Workbook Edit, Worksheet Edit, SetCellValue and SetCellStyle, and Range Edit for the full rectangle. The native exclusive-range restriction applies. Workbook Undo restores the cleared cells, formatting, merges and row-height changes. Use an ordinary owner-local Workbook.
Changes and approval: Requires Propose and manual owner Apply on the existing card. CLI --autoapprove cannot approve.
Result: {ok:true,sheetId,range,saved:true} only after the exact native clear, merge changes and save are confirmed.
Hide one selected row — request_spreadsheet_editor_row_hide
Select exactly one visible row from its row header in the open Workbook. Read the Workbook and request
the hide in the same CLI run. Pass the fresh editorId, state.document.revision as
expectedRevision, the active sheetId, and the zero-based row from that same read. The request
requires an ordinary owner Workbook and permission to edit the Workbook and worksheet, change row
visibility, and edit the entire selected row. Joe verifies the native row-header selection. Hidden or filtered rows and
the last row that is not hidden are refused.
--autoapprove cannot approve it. Hidden or filtered targets and the last row that is not hidden are refused.
Private and guest Workbooks are excluded. Read again before another request, including when the result is
uncertain.
Changes and approval: Requires Propose access and the owner’s manual Apply on the existing
Hide Selected Row confirmation. --autoapprove cannot approve it. Native Workbook Undo restores
row visibility.
Result: {ok:true,sheetId,hiddenRow,saved:true} only after the exact selected row is hidden and the
correlated Workbook save is confirmed.
Show one hidden row — request_spreadsheet_editor_row_show
Select a native row-header span that crosses exactly one structurally hidden row in the open Workbook. Often the hidden row sits between two adjacent visible row headers. Read
the Workbook and request the show in the same CLI run. Pass the fresh editorId,
state.document.revision as expectedRevision, the active sheetId, and exact zero-based startRow and endRow
from that read’s state.selection.range. A span with no hidden target or more than one hidden row is
refused. The request requires an ordinary owner Workbook, permission to edit the Workbook and worksheet,
change row visibility, and edit the entire selected span.
--autoapprove cannot approve it. FlowJoe confirms only after the exact hidden row becomes visible and
the Workbook save is confirmed. Row and column dimensions stay unchanged, and filters stay applied.
Native Workbook Undo hides the row again. Private and guest Workbooks are excluded. Read again before
another request, including when the result is uncertain.
Changes and approval: Requires Propose access and the owner’s manual Apply on the existing
Show Hidden Row confirmation. --autoapprove cannot approve it. Native Workbook Undo hides the row again.
Result: {ok:true,sheetId,shownRow,saved:true} only after the exact row is shown and the correlated
Workbook save is confirmed.
Delete one selected row — request_spreadsheet_editor_row_delete
Select exactly one visible row in the open Workbook. Pass the fresh editorId, state.document.revision as expectedRevision, the active sheetId, and the zero-based row from the same read’s state.selection.range. The action requires an ordinary owner Workbook, Workbook and worksheet edit and delete-row permission, and permission to edit the entire selected row. Hidden or filtered rows, the last row that is not hidden, and Private or guest Workbooks are refused.
--autoapprove cannot approve it. Native Workbook Undo restores the deleted row. Read the Workbook again before another request, including when a result is uncertain.
Result: {ok:true,sheetId,deletedRow,saved:true} after the native Workbook confirms removal of the exact zero-based row and saves the change.
Hide one selected column — request_spreadsheet_editor_column_hide
Select exactly one visible column from its column header in the open Workbook. Read the Workbook and
request the hide in the same CLI run. Pass the fresh editorId, state.document.revision as
expectedRevision, the active sheetId, and the zero-based column from that same read. The request
requires an ordinary owner Workbook and permission to edit the Workbook and worksheet, change column
visibility, and edit the entire selected column. Joe verifies the native column-header selection. Hidden
or filtered columns and the last column that is not hidden are refused.
--autoapprove cannot approve it. Hidden targets and the last column that is not hidden
are refused. Private and guest Workbooks are excluded. Read again before another request, including when
the result is uncertain.
Changes and approval: Requires Propose access and the owner’s manual Apply on the existing
Hide Selected Column confirmation. --autoapprove cannot approve it. Native Workbook Undo restores
column visibility.
Result: {ok:true,sheetId,hiddenColumn,saved:true} only after the exact selected column is hidden,
its dimensions remain unchanged and the correlated Workbook save is confirmed.
Show one hidden column — request_spreadsheet_editor_column_show
Select a native column-header span that crosses exactly one structurally hidden column in the open Workbook. Often the hidden column sits between two adjacent visible column headers. Read the Workbook and request the show in the same CLI run. Pass the fresh editorId, state.document.revision as expectedRevision, the active sheetId, and exact zero-based startColumn and endColumn from that read’s state.selection.range. A span with no hidden target or more than one hidden column is refused. The request requires an ordinary owner Workbook, permission to edit the Workbook and worksheet, change column visibility, and edit the entire selected span.
--autoapprove cannot approve it. FlowJoe confirms only after the exact hidden column becomes visible and
the Workbook save is confirmed. Column dimensions stay unchanged. Native Workbook Undo hides the column
again. Private and guest Workbooks are excluded. Read again before another request, including when the
result is uncertain.
Changes and approval: Requires Propose access and the owner’s manual Apply on the existing
Show Hidden Column confirmation. --autoapprove cannot approve it. Native Workbook Undo hides the column again.
Result: {ok:true,sheetId,shownColumn,saved:true} only after the exact column is shown and the correlated
Workbook save is confirmed.
Delete one selected column — request_spreadsheet_editor_column_delete
Select exactly one visible column in the open Workbook. Pass the fresh editorId, state.document.revision as expectedRevision, the active sheetId, and the zero-based column from the same read’s exact one-column state.selection.range. The action requires an ordinary owner Workbook, Workbook and worksheet edit and delete-column permission, and permission to edit the entire selected column. Hidden columns and Private or guest Workbooks are refused.
--autoapprove cannot approve it. Hidden columns and the last column that is not hidden are refused before approval. Native Workbook Undo restores the deleted column. Read the Workbook again before another request, including when a result is uncertain.
Result: {ok:true,sheetId,deletedColumn,saved:true} only after the exact full-height zero-based column is removed and the correlated Workbook save is confirmed.
Insert one row above the selected row — request_spreadsheet_editor_row_insert_above
Select exactly one row in the open workbook first. Use one CLI run so the request passes the fresh editorId, state.document.revision as expectedRevision, the exact sheetId, and the zero-based row from the one-row state.selection.range of the same read. The request is refused unless the active worksheet, fresh revision and one-row selection still match. The native row-header Insert Rows Above command is used; the owner must manually click Apply and --autoapprove cannot approve it.
row and its correlated save is confirmed. The workbook must be an owner-local ordinary non-Private workbook; guests and Private workbooks are excluded. Reread before another request, and inspect an uncertain result before retrying — never retry automatically.
Changes and approval: Requires Propose access. The owner must click Apply manually each time — --autoapprove cannot approve it; success is confirmed only after one row is inserted and the correlated workbook save completes.
Result: Confirmation that exactly one row was inserted above the target row and the workbook was saved.
Insert one row below the selected row — request_spreadsheet_editor_row_insert_below
Select exactly one row in the open workbook first. Use one CLI run so the request passes the fresh editorId, state.document.revision as expectedRevision, the exact sheetId, and the zero-based row from the one-row state.selection.range of the same read. The request is refused unless the active worksheet, fresh revision and one-row selection still match. The native row-header Insert After command is used; the owner must manually click Apply and --autoapprove cannot approve it.
row+1 and its correlated save is confirmed. The workbook must be an owner-local ordinary non-Private workbook; guests and Private workbooks are excluded. Reread before another request, and inspect an uncertain result before retrying — never retry automatically.
Changes and approval: Requires Propose access. The owner must click Apply manually each time — --autoapprove cannot approve it; success is confirmed only after one row is inserted and the correlated workbook save completes.
Result: Confirmation that exactly one row was inserted below the target row and the workbook was saved.
Insert one column left of the selected column — request_spreadsheet_editor_column_insert_left
Select exactly one column in the open workbook first. Use one CLI run so the request passes the fresh editorId, state.document.revision as expectedRevision, the exact sheetId, and the zero-based column from the one-column state.selection.range of the same read. The request is refused unless the active worksheet, fresh revision and one-column selection still match. The entire selected column must be editable, even if the selection covers only some of its cells. The native column-header Insert Columns Before command is used; the owner must manually click Apply and --autoapprove cannot approve it.
column and its correlated save is confirmed. The workbook must be an owner-local ordinary non-Private workbook; guests and Private workbooks are excluded. Reread before another request, and inspect an uncertain result before retrying — never retry automatically.
Changes and approval: Requires Propose access. The owner must click Apply manually each time — --autoapprove cannot approve it; success is confirmed only after one column is inserted and the correlated workbook save completes.
Result: Confirmation that exactly one column was inserted left of the target column and the workbook was saved.
Insert one column right of the selected column — request_spreadsheet_editor_column_insert_right
Select exactly one column in the open workbook first. Use one CLI run so the request passes the fresh editorId, state.document.revision as expectedRevision, the exact sheetId, and the zero-based column from the one-column state.selection.range of the same read. The request is refused unless the active worksheet, fresh revision and one-column selection still match. The entire selected column must be editable, even if the selection covers only some of its cells. The native column-header insert-right action is used; the owner must manually click Apply and --autoapprove cannot approve it.
column+1 and its correlated save is confirmed. The workbook must be an owner-local ordinary non-Private workbook; guests and Private workbooks are excluded. Reread before another request, and inspect an uncertain result before retrying — never retry automatically.
Changes and approval: Requires Propose access. The owner must click Apply manually each time — --autoapprove cannot approve it; success is confirmed only after one column is inserted and the correlated workbook save completes.
Result: Confirmation that exactly one column was inserted right of the target column and the workbook was saved.
Add a blank worksheet to the open workbook — request_spreadsheet_editor_sheet_create
Use one CLI run so the request passes the fresh editorId and state.document.revision as expectedRevision from the preceding read on the same connection. The native workbook creates its locale-named sheet at the end of the workbook, activates it and uses its default dimensions. The owner must click Apply manually each time; --autoapprove cannot approve this request.
--autoapprove cannot approve it; success is confirmed only after the correlated workbook save.
Result: Confirmation that one blank worksheet was added at the end of the workbook, activated, and the workbook was saved.
Delete the active worksheet — request_spreadsheet_editor_sheet_delete
Use one CLI run so the request passes the fresh editorId, state.document.revision as expectedRevision and the exact active visible sheetId from the preceding read on the same connection. The owner confirms each deletion in the native Delete worksheet dialog; --autoapprove cannot approve this request. The last visible worksheet is protected and cannot be deleted.
--autoapprove cannot approve it; success is confirmed only after the exact sheet is removed and the correlated workbook save completes.
Result: Confirmation that the active visible worksheet was deleted and the workbook was saved.
Duplicate the active worksheet — request_spreadsheet_editor_sheet_duplicate
Use one CLI run so the request passes the fresh editorId, state.document.revision as expectedRevision and the exact sheetId from the preceding read on the same connection. The native workbook names the copy, inserts it immediately after its source and activates it. The owner must click Apply manually each time; --autoapprove cannot approve this request.
--autoapprove cannot approve it; success is confirmed only after the correlated workbook save.
Result: Confirmation that the active worksheet was duplicated immediately after its source, activated, and the workbook was saved.
Hide the active worksheet — request_spreadsheet_editor_sheet_hide
Use one CLI run so the request passes the fresh editorId, state.document.revision as expectedRevision and the exact active visible sheetId from the preceding read on the same connection. The owner must click the actual Apply card; --autoapprove cannot approve this request. Hiding the last visible sheet is refused.
--autoapprove cannot approve it; success is confirmed only after the sheet is hidden and the correlated workbook save completes.
Result: Confirmation that the exact sheet is hidden, another visible sheet became active, and the workbook was saved.
Move the active sheet tab — request_spreadsheet_editor_sheet_reorder
Read the workbook with its sheet tabs first, then request moving the active visible worksheet to a visible destination tab’s current slot. Pass the fresh editorId, state.document.revision as expectedRevision, the active sheetId and the destination anchorSheetId from state.sheetTabs in the same fresh read. If the source is earlier than the destination, it moves after the destination; if later, it moves before. The approval names both sheets and their exact relative position. A manual owner Apply click and a confirmed save are required; --autoapprove cannot approve it. A matching source and destination return without approval or saving.
--autoapprove cannot approve it; success is confirmed only after the correlated workbook save. A matching source and destination return without approval or saving.
Result: Confirmation that the active sheet tab moved to the destination’s slot and the workbook was saved.
Set the active sheet tab color — request_spreadsheet_editor_sheet_tab_color
Read the workbook with includeSheetTabColor:true first, then request one opaque #RRGGBB color on the active visible sheet tab; clearing the color is not supported. Pass the fresh editorId, state.document.revision as expectedRevision and the exact sheetId from that read. Upper and lower case hex are accepted and normalized to uppercase. A changed color requires the owner’s manual Apply click and a confirmed save; --autoapprove cannot approve it. An unchanged value returns without approval or saving.
--autoapprove cannot approve it — and success is confirmed only after the correlated workbook save; an unchanged value returns without approval or saving.
Result: Confirmation that the tab color was applied to the active sheet and the workbook was saved, or an unchanged report when the tab already had the requested color.
Reveal a hidden worksheet — request_spreadsheet_editor_sheet_unhide
First read the workbook with hiddenSheetTabsOffset on the same connection to page the ordinary hidden worksheet tabs. Pass that response’s editorId, document revision as expectedRevision and the exact untruncated hidden tab item ID as sheetId — never guess IDs. The owner must click Apply; --autoapprove cannot approve this request. Workbook Edit and HideSheet permissions both apply.
--autoapprove cannot approve it; success is confirmed only after the sheet is visible and active and the correlated workbook save completes.
Result: Confirmation that the exact hidden worksheet is visible and active and the workbook was saved.
Toggle formatting in the open rich document — request_rich_document_editor_format
Select one nonempty range in the document’s main body, outside code blocks. In one CLI run, read the live
editor and request a native format toggle using its fresh editorId and state.document.revision
as expectedRevision. The action value accepts
exactly toggle_bold, toggle_italic, toggle_underline, toggle_strikethrough, toggle_subscript
or toggle_superscript. Subscript and Superscript replace each other; choosing the same script on
uniformly formatted text turns it off, while a mixed selection receives the requested script throughout. The owner must
click Apply for every request; CLI --autoapprove cannot approve it. No text or offsets are passed.
The example toggles Bold; change only its action value to choose another format.
To set the style of the paragraphs covered by the same selection, use set_normal_text, set_title, set_subtitle, set_heading_1, set_heading_2, set_heading_3, set_heading_4 or set_heading_5 as the action in the example. These set a paragraph style through the native editor and use the same owner approval, save confirmation and editor Undo.
To insert a column break, place the cursor at a top-level position in the body of an ordinary local Rich Document without selecting text. Call read_rich_document_editor on the same connection and use its fresh editorId and state.document.revision with action:"insert_column_break". Send no text or cursor offsets. Review the card and click Apply. FlowJoe confirms after the document and updated Flow reference save. Editor Undo reverses the insertion. Joe chat, the authenticated owner CLI brain, external CLI and MCP use this same action.
To set a section’s column count, place the cursor in that section of an ordinary local Rich Document without selecting text. Call read_rich_document_editor on the same connection. Use its fresh editorId and state.document.revision as expectedRevision with action:"set_section_column_count" and integer columnCount from 1 through 12. Send no section ID, text or cursor offsets. Click Apply on the card naming the section and count. Section Settings keeps the separator and gap between columns. One column restores the single-column layout. If the count already matches, the section stays as it is. FlowJoe confirms after both saves. Editor Undo reverses the change. Both CLI routes, MCP and Joe use this action.
To set the size of the selected text, use action:"set_font_size" and include fontSize as a finite JSON number from 1 through 400 points; fractions are allowed. It changes only the selected text size, preserving other inline styles and text outside the selection. The owner approval card shows the exact size, and the owner must click Apply; --autoapprove cannot approve. FlowJoe confirms success only after the document and updated Flow reference save, and native editor Undo applies. Invalid sizes refuse. This Rich Document range is separate from Workbook set_font_size, which remains 6 through 400.
To set the selected text’s family, read read_rich_document_editor with {"includeFontFamilyChoices":true} and use one exact, case-sensitive string from its fresh state.fontFamilyChoices with action:"set_font_family" and fontFamily. The value must be 1–200 characters; arbitrary or stale names refuse. Only set_font_family accepts fontFamily; other action schemas are unchanged. The current text selection is the target, not a range in the request. The approval card names the family; manual owner Apply, confirmed document and Flow saves, and native editor Undo apply. Other inline styles and surrounding text stay unchanged. This is separate from Workbook font-family formatting.
To change the selected text’s colors, use set_text_color or set_fill_color with color as the exact opaque #RRGGBB chosen in the native toolbar palette or custom color picker. Use reset_text_color or reset_fill_color without a color argument to clear the explicit color from the current selection through the existing Reset control in the Text Color or Text Background Color menu. These actions preserve other formatting and surrounding text. The owner card names the color or reset and selection; each request needs manual owner Apply. FlowJoe confirms after the document and updated Flow reference save, and native editor Undo applies.
To color the paragraph at the current body caret, first read with {"includeParagraphColorChoices":true}.
Use action:"set_paragraph_text_color" with one-based swatchIndex 1–7, or
action:"set_paragraph_fill_color" with swatchIndex 1–15, from that current native palette.
Do not pass CSS or a caller color. The approval card names the resolved color and current paragraph;
manual owner Apply, confirmed document/Flow saves and native editor Undo apply. The operation colors
only that paragraph’s text, excludes the separator and next paragraph, and restores the caret.
To clear the current paragraph’s background, pass action:"reset_paragraph_fill_color" with fresh
editorId and expectedRevision from the same route. Do not include swatchIndex or color. It
matches Paragraph Colors > No background, preserves the paragraph’s text color and neighboring
paragraphs, and targets only the paragraph at the body caret. The card names the paragraph; manual owner
Apply, confirmed document and Flow saves, and native editor Undo apply.
To reset the paragraph’s text color, use action:"reset_paragraph_text_color" with fresh editorId
and expectedRevision for the current body caret. Do not include color or swatchIndex. This matches
Paragraph Colors > Reset and applies the current theme’s text color, retaining paragraph fill and
neighboring paragraphs. The card names the paragraph; manual owner Apply, confirmed document/Flow
saves and native editor Undo apply. This differs from selected-text reset_text_color, which clears an
explicit color on the selected range.
For one ready ordinary main-body paragraph at the caret, use action:"increase_paragraph_indent" or
action:"decrease_paragraph_indent" with fresh editorId and expectedRevision. Pass no additional
action arguments or numeric value. The native first-line indent changes by one step; decrease stops at
zero. The owner must manually click Apply. Native formatting leaves the whole target paragraph
selected, so place the caret again before requesting another step. Both saves and native editor Undo
apply; the paragraph’s text and neighboring content stay unchanged.
With a caret in a body paragraph or a contiguous body-text selection, use
action:"set_paragraph_space_above" or action:"set_paragraph_space_below" and a spacingPx value
from 0 to 100 with up to one decimal place. Read the editor on the same connection and pass its fresh
editorId and revision. FlowJoe applies Before or After spacing to the paragraphs touched by
the selection and keeps it in place. The owner clicks Apply even when running the CLI with
--autoapprove. FlowJoe confirms both saves and supports editor Undo.
With a caret in a body paragraph or a contiguous body-text selection, call
read_rich_document_editor with includeParagraphLineSpacing set to true. The result adds
state.paragraphLineSpacing with the first touched paragraph’s rule and value.
For set_paragraph_line_spacing, pass the same read’s editorId and
state.document.revision as expectedRevision. Pass its rule as lineSpacingRule.
Supply a lineSpacing from 1 to 5 for multiple or 1 to 100 pixels for
at_least and exactly, with up to one decimal place. FlowJoe applies that rule and value to the
paragraphs touched by the selection. The owner clicks Apply. FlowJoe preserves the selection,
confirms both saves and supports editor Undo. Read again if the rule changed.
To change only that rule, use action:"set_paragraph_line_spacing_rule" with the fresh
editorId/expectedRevision and one lineSpacingRule: multiple, at_least or exactly. Pass no
numeric value. The first touched paragraph’s rendered line height calculates the value for the requested
rule, shown with the requested rule in the owner tray; Apply updates all touched paragraphs while preserving selection, confirming both
saves and supporting editor Undo. The current rule is a no-op with no approval or save.
With the cursor in a body paragraph, use request_rich_document_editor_format with a fresh editor ID and revision and the action insert_horizontal_line_below. The owner clicks Apply to add the native horizontal line below that paragraph. FlowJoe confirms the document and Flow saves. Editor Undo removes the line.
With the cursor in a body paragraph, use request_rich_document_editor_format with a fresh editor ID and revision and insert_bullet_list_below, insert_numbered_list_below or insert_check_list_below. The owner clicks Apply to insert one blank item in the chosen new list below that paragraph. The editor confirms the document and Flow saves. Editor Undo reverses the insertion.
With the cursor in a body paragraph, use request_rich_document_editor_format and a fresh editor ID and revision. Set action to one of insert_heading_1_below, insert_heading_2_below, insert_heading_3_below, insert_heading_4_below or insert_heading_5_below. The owner clicks Apply to insert the blank heading at its native position. The editor confirms the document and Flow saves. Editor Undo reverses the insertion.
To set an exact paragraph indent, place the caret in a body paragraph or select contiguous body
text. Call request_rich_document_editor_format with fresh editorId and expectedRevision, one
indentPx value from 0 to 100 with up to one decimal place, and one action.
Use set_paragraph_left_indent, set_paragraph_right_indent, set_paragraph_first_line_indent
or set_paragraph_hanging_indent for the matching Paragraph Settings field. The owner clicks
Apply. FlowJoe preserves the selection, confirms both saves and supports editor Undo.
For the same active body selection, use one of toggle_align_left, toggle_align_center, toggle_align_right or toggle_align_justify as the action. If all touched paragraphs already use the requested alignment, applying it again returns them to the default. Otherwise, the action applies the requested alignment to all touched paragraphs. Make a separate owner Apply request for each action and read the editor again before repeating. FlowJoe reports success after the document and updated Flow reference save. The change is an ordinary editor Undo step.
For one current body-text selection, set action to toggle_bullet_list, toggle_numbered_list or toggle_check_list to apply that native list to its paragraphs. If all touched paragraphs already use that exact list, the action clears it. Use an item’s checkbox to mark it complete or incomplete. Make a separate owner Apply request and read the editor again before repeating. FlowJoe reports success after the document and updated Flow reference save. Use editor Undo to reverse the change.
To change one checklist item through Joe, put the caret or selection wholly inside that current item, read the editor for its fresh revision and use set_checklist_item_checked or set_checklist_item_unchecked. The owner card names the selected item locally; click Apply each time. No label or item text is sent or returned. A changed item is confirmed only after the document and updated Flow reference save; if it already has the requested state, the result reports unchanged. Use editor Undo to reverse a change.
Save this as document-bold.json:
{ok:true,applied:true,saved:true} only after the document autosave and updated Flow
reference save are confirmed. The native toggle can turn the selected format on or off. Its exact
document, range and content must still match after approval. If the result is format_unconfirmed or
save_unconfirmed, inspect and read the document again before deciding what to do; never retry
automatically. The native formatting command is an ordinary editor Undo step. This route is for an open
owner-local non-Private document; guests, Private documents, empty/collapsed selections and ranges
overlapping code blocks are excluded. The separate closed-editor editIslandSnapshot proposal workflow
is unchanged.
Changes and approval: Requires Propose access. The owner clicks Apply for every request — --autoapprove cannot approve it; the exact approved native command applies only to the captured selection and is an ordinary editor Undo step, confirmed only after the document and Flow reference save.
Result: {ok:true,applied:true,saved:true} once the format change and its save are confirmed; no document text or offsets are returned.
Read a spreadsheet, calendar or rich document — get_island_content
Read one workbench reference’s structured content. Add itemIndex only for a member inside a stack.
Use page: true for bounded, addressed pages. An open workbench may be flushed before reading;
source.policy identifies flushed or stored evidence. A failed flush is reported as
flush_unconfirmed, rather than presenting an unsaved draft as saved content.
Changes and approval: Read only; no approval.
For example, use one of these as
input.json with the command above:
content contains JSON text with addressed fragments, including cell/block/event
addresses, textOffset and complete. coverage, summary, source.revision, partial, truncated
and nextCursor describe the page. A long record can span pages; keep every fragment before moving
on. Repeat identical selectors with the cursor in one run list. A changed source or revoked target
invalidates continuation rather than silently mixing revisions.
Read the saved structure for an edit
Save and close the workbench, then request the exact part you want to change:flowjoe-cli action get_island_content --file input.json --json command, using snapshotPath for the exact part.
The response includes the exact snapshot value and its sourceKey. Use that key in
editIslandSnapshot.
Use snapshotPath:"" to inspect the root. Paths use JSON Pointer: / separates keys,
~1 represents a slash within a key, and ~0 represents a tilde.
Large objects return childKeys and nextChildOffset; continue with snapshotChildOffset
or descend to the child you need. Large strings return snapshotFragment, snapshotLength
and nextSnapshotCharOffset; continue with snapshotCharOffset and the same source key.
These pages use the same maxChars budget. Re-read if the source changes; a fragment is only
part of that string, not a replacement for the whole value.
Read an image — read_media_content
Return an image from the gallery. Add itemIndex only for an image inside a stack. This does not ask an AI to describe the image; a script receives metadata and image content.
Changes and approval: Read only; no approval.
Inspect the open image editor — read_image_editor
Read the current open editor at Read or Propose access. You do not need to save and close it.
The response is {ok:true,editorId,state}. It includes only admitted source identity, document
bounds/flags, bounded paginated layer and selection/pending metadata, known Adjust/Look state and
view settings. Current actor, guest and source checks apply.
Pass
includeLayerTree as true to opt into a bounded depth-first nested-layer page; omission or null keeps the default root-layer read. The same layerOffset and layerLimit page the tree.
Layer results include total and hasMore; continue from the next layer offset when needed.
Set textLayer to a Type layer ID or "active" to read its committed text, including text inside a group. The reply includes state.typeText with layerId, text, offset, total, and nextOffset. Each page holds up to 10,000 Unicode code points. Reuse layerId as textLayer and nextOffset as textOffset. Compare revisions. The last page has nextOffset: null. Finish typing on the requested layer before reading it. Canvas visibility controls what appears in the image. Hide from Joe governs source access.
At Read or Propose, pass includeTextDefaults as true to opt into state.textDefaults:{font,weight,sizePt,color,align}. Omit it to keep the default state unchanged. color:null means the native engine color choice remains active until a color is picked.
The state object has these bounded sections:
Pass
includeActiveTool as true to opt into state.view.activeTool. It is the canonical existing
FlowJoe rail ID, or null when the native editor is using a mode outside that rail. Omit the flag
to keep the default response unchanged.
Layer IDs describe this open editor only; they are not arbitrary engine-command handles.
editorId in control_image_editor_view. Refresh the read after the editor or
source changes; an ID is bound to the actual open session, caller and conversation/run, rather than
a reusable grant of authority.
Changes and approval: A pure read at Read or Propose access — it changes nothing in the editor or the Flow and needs no approval card.
Result: The bounded editor identity and state: document flags, paginated layers, selection and pending metadata, and view settings.
Adjust the open image-editor view — control_image_editor_view
Requires Propose access. These are immediate transient view changes, outside Flow Undo, with no
proposal or approval card. Send editorId from a fresh read and one action, with its flat value fields:
Ordinary CLI/MCP calls may omit unused value fields or supply null. Relevant values are required and
cannot be null; non-null unrelated values and unknown fields are refused. The strict API tool shape
carries all nullable value fields, using null for those unused by the selected action.
Use one connection for the read and control. Save this as
editor-view.json:
action commands create separate connections and cannot
reuse the token. Controls work only while the original source document is active. A different active
document is refused. Returning to the original still-open source can reuse the same caller editorId.
Closing/reopening the editor requires a fresh read; return to the original source or reopen from
Gallery if it was replaced. Reading again does not admit an unrelated Advanced document.
The response is {ok:true,editorId,state}. A pending crop or text edit blocks turning Compare on; finish it through
the existing human controls first. Zoom, pan, Fit, tabs, Compare-off, its active divider and Advanced-on
remain available while editing. Agent Advanced-off preserves pending work and the current engine tool while changing
the existing layout and panels. The human Advanced button keeps its usual behavior.
set_tool selects an existing rail tool without drafting or saving. Finish pending Crop or Text
work through the normal human controls first. Selecting a rail tool ends Compare; selecting Text
uses the existing next-text defaults. The returned state.view.activeTool confirms the selection.
select_rectangle replaces the selection with integer document-pixel x,y,width,height fully
inside the canvas. clear_selection deselects and succeeds unchanged when already clear. Both use
fresh editorId and expectedRevision, preserve pending Crop/Type work, and return state.selection
Selections follow normal editor Undo; they do not change picture pixels or save or commit the Flow.
Use reselect after Deselect to restore the remembered selection. It takes no geometry and returns
selection_unavailable when the native command is disabled; inspect the restored state.selection.
For the full image, use x:0, y:0, and the fresh read’s state.document.width and
state.document.height for width and height.
These tools preserve the open picture’s content. Use the existing saved-source preparation and
approved placement workflow when you want a new saved version.
Changes and approval: Requires Propose access. These immediate transient view changes sit outside Flow Undo, with no proposal or approval card.
Result: The editor view reflects the requested zoom, pan, tab or compare state.
Undo or redo an open image edit — control_image_editor_history
Requires Propose access. Take one step through the open picture’s unsaved editor history, outside
Flow Undo. Read the current editor first and check state.document.canUndo or canRedo.
Save this as
editor-history.json and run both steps in one connection:
{ok:true,editorId,state}. Use its returned revision for the next step, or read
again before retrying a stale request. Separate action commands create different connections and
cannot reuse an editor identity. A changed revision returns stale_revision; an unavailable step
returns undo_unavailable or redo_unavailable. Finish a pending crop or text edit through the
existing editor controls first; history requests do not finish it for you.
Undo/Redo closes Compare and updates the picture, sliders and history availability together. The
request acts immediately without a Flow proposal or approval card. Your saved picture stays as it
was until you choose Save as New Version in the editor. Current source/caller permissions and
Private/guest checks remain in force; no editor command string or history count is accepted.
Changes and approval: Requires Propose access. The step moves through the open picture’s unsaved editor history outside Flow Undo — the Flow itself is unchanged until the owner saves, and no approval card is involved.
Result: The editor state one undo or redo step away, with its new revision for the next call.
Adjust the open picture — control_image_editor_edits
Requires Propose access. Change the currently open picture’s unsaved draft immediately, outside
Flow Undo, without a proposal or approval card. Start with read_image_editor and send its
editorId, the current state.document.revision as expectedRevision, and one action. Check the returned availability flags before choosing it:
Known unused value fields can be omitted or null. Relevant fields are required and cannot be null;
non-null unrelated fields and unknown keys are refused.
set_look does not take amount; change
strength separately with set_look_amount. Existing unrelated filters are preserved.
Save this as editor-adjust.json and keep the read and edit in one connection:
editor-filter-visibility.json and keep the read/edit in one CLI connection:
filter: "look" for the owned Look. Readback is visibility.state.adjustments.visible or visibility.state.look.visible. An unselected filter returns filter_not_selected; pending editor work refuses. This changes only the unsaved draft through the existing human eye control; ordinary editor Undo/Redo applies, and only Save as New Version writes the Gallery.
For a quarter-turn right, save this as editor-orient.json:
state.availability keys and use the same
current-source and unsaved-history rules. They do not need the Adjust engine.
The response is {ok:true,editorId,state} after rendering finishes. Chain the next request from
edited.editorId and edited.state.document.revision using the same result-reference form, or read
again before another request. A stale revision is refused rather than applied to a newer edit.
Finish a pending crop or text edit through the existing editor controls first; these calls do not
finish it for you. Current source/caller permissions and Private/guest checks remain in force.
Your saved picture stays unchanged until you choose Save as New Version. Use the editor’s
Undo/Redo for draft history; its initial Smart Object preparation may add more than one history
step. Reset Adjustments preserves Auto Tone. For a separate new version prepared from a saved source,
use prepare_image_edit or prepare_image_edit_batch and its reviewed placement workflow.
Changes and approval: Requires Propose access. The unsaved draft changes immediately outside Flow Undo, without a proposal or approval card; the Flow itself changes only when the owner saves the editor.
Result: The adjusted draft state with its new revision and availability flags.
Prepare an image quick fix — prepare_image_edit
Run one of nine local image operations on a gallery picture and stage the result. This prepares an
image only; it does not change the Flow. Use the returned suggestedOperation in a
separate propose_flow_patch call to place the new version after reviewing the normal approval
preview. The source version remains in the stack. Use one operation per call; to combine adjustment
sliders and a look, approve the first insertion, refresh the gallery IDs, then target that new
version in the next call.
Changes and approval: Stages a new image; placement requires a separate approved Flow patch.
Requires Propose access. No image-generation provider is called. flipVertical mirrors top to bottom; flipHorizontal mirrors left to right. The six visible Quick Fixes menu entries stay the same.
lookId:"original" adds no look effect. Each operation starts from the selected flattened source
image, so Original cannot undo a look baked into a previous version; select the original source
version to revert it. A call accepts only one operation, and fields for other operations must be
omitted or null.
entry and key, the captured target identity, and a
suggestedOperation with verb:"insertEntriesIntoStack". Submit that operation through
propose_flow_patch for the normal preview and approval. In-Flow virtual slots resolve through an
admitted editable master; guest outside-share masters cannot be changed. An unlocked Private image
can be prepared only while its owner unlock and Joe access remain valid; locking stops the operation.
The staged image is limited to 10 MB.
Result: The staged image version and the suggestedOperation to place it after approval.
Compose a saved image — prepare_image_edit_batch
Prepare one flattened new version from a saved source using an ordered batch of local edits.
Save and close the image editor first. Requires Propose access. Preparation leaves the gallery
unchanged; normal approval of the returned suggestedOperation places the version above the original,
with Undo. No image-generation provider is called.
Pass the exact nodeId and slotEntryId with the ordered operations list — the full input shape is {nodeId,slotEntryId,itemEntryId?,operations} — using current stable IDs. Omit itemEntryId
to use the captured active stack item. Each operation has a kind and only its declared fields:
source is the original pixel-layer alias. as creates a unique alias: an ASCII letter followed by
letters, digits or underscores, at most 64 characters. Refer only to source or aliases created earlier
in this batch; deleted aliases cannot be used. Source cannot be duplicated, deleted or reordered,
and other layers cannot go below it. Brush and heal accept pixel layers only.
Text fonts are Inter or JetBrains Mono; weights Bold, SemiBold, Medium, Regular; alignment
left or center; text size 1–1296. Colors use #RRGGBB. Blend names are Normal, Multiply,
Screen, Overlay. Opacity and hardness are 0–1. Brush size is 0.5–5000; heal size is 1–5000.
Rectangle width/height and optional stroke width must be positive; stroke width is at most 5000.
Text origins, every [x,y] point, and complete rectangles must fit the saved image dimensions.
Tool admission allows 1–64 operations, 1–4096 points per stroke and 1–10000 text characters.
These are tool bounds, not limits on the human editor. Unknown fields, raw engine IDs, commands,
JavaScript, paths and URLs are not accepted.
input.json and run:
key, entry, captured target and suggestedOperation with
verb:"insertEntriesIntoStack". Submit that operation through propose_flow_patch and review the
approval preview. JPEG sources export JPEG at quality 95; other sources export PNG. Export is capped
at 10 MB. A batch engine failure or cancellation before staging produces no staged entry. An unlocked Private source uses encrypted staging
and stops on relock; virtual slots use the admitted editable master, and guest outside-share masters
cannot be write targets.
For one of the existing nine image operations, use prepare_image_edit. To compose those effects,
approve each prepared version and target it next. For a rectangular crop, use the existing cropImage
proposal; for new flat SVG art, use stage_media.
Changes and approval: Requires Propose access. Preparation leaves the gallery unchanged; normal approval of the returned suggestedOperation places the version above the original, with Undo. No image-generation provider is called.
Result: The flattened staged version and the suggestedOperation to place it after approval.
Get a reference’s media bytes — read_media_blob
Retrieve the actual stored media of one gallery item or stack member. Unlike a snapshot, this returns a data URL. It is useful when a script needs to display or save the media bytes.
Changes and approval: Read only; no approval.
too_large before anything is read out; save a finished video export to Downloads from the export window instead.
Read saved Joe memories — list_joe_memories
Read saved memories for the current Flow. Use their IDs for memory changes, rather than inventing IDs.
Changes and approval: Read only; no approval.
Read automations and their status — list_scheduled_tasks
List automations for the open Flow and check when they next run. Availability depends on this bridge connection’s permissions and desktop build.
Changes and approval: Read only; no approval; available with Read or Propose bridge access. Editing automations still requires Propose access and ordinary approval rules.
Inputs: none.
Read FlowJoe’s user guidance — open_reference
Read a named help topic. For a single complete page, add page with its exact manual slug, such as cli/node-changes. Use actions open_reference to see the current topic choices.
Changes and approval: Read only; no approval.
Read every supported editing verb — describe_patch_protocol
Discover the running app’s editing names and required arguments. This catalog includes optional stable entry-ID alternatives and valid theme IDs.
Changes and approval: Read only; no approval.
Inputs: none.
Apply a group of Flow changes — propose_flow_patch
Send an ordered ops array of editing verbs. The simpler apply command wraps this action. validateOnly true checks without applying or queuing. A patch is atomic: a failed operation rolls back that patch. For editRepoFileText, validateOnly also runs the edit’s read-only file checks (the text appears once, the file or open draft is unchanged, the file is editable), and Apply checks them again.
Changes and approval: Changes data. Follows app approval rules unless —autoapprove; this includes deletion, memory and task review.
Prepare content for the gallery — stage_media
Prepare new content without placing it. Supply exactly one source: text, dataUrl or attachmentId. Raw document text and SVG text are supported; MIME must match kind. The 10 MB stage limit applies to inline data; session uploads can stage larger PNG/JPEG/GIF/WebP images and audio/video when disk space is available. An attachmentId must come from this connection’s upload_attachment or upload_media. Explicit nodeId chooses the intended destination; omitted uses the selected node.
Changes and approval: Prepares content; no Flow edit approval until placement. Requires an available staging capability.
Generate an image for placement — generate_image
Use the configured image service and its normal paid credits. The bridge allows at most two generation attempts per connection, including failed attempts; a longer run list must stay within that limit. Optional size, quality and format can override the app’s generation settings for this request without changing saved defaults. A style hint applies only when the app’s Generate Images style is None. The external bridge accepts action edit when you supply sourceImageKey or a caller-owned referenceAttachmentId. Without an explicit source, edit returns chat_history_required because the connection has no previous Joe-chat image. referenceAttachmentId uses this connection’s uploaded image; sourceImageKey targets an accessible stored image.
Select the destination node in FlowJoe before starting generation. The request keeps that destination if you select another node while it runs. A missing, removed, locked or hidden destination cannot receive the generated result.
Changes and approval: Calls a paid service immediately; —autoapprove is not a billing confirmation. Placement is a separate Flow edit.
"format": "gif" to the input; for a static vector image, use "format": "svg". GIF frames/timing and Complexity inherit the Images controls. Unsupported requested formats refuse before paid generation. The returned entry preserves its GIF/SVG MIME type; place it unchanged using the existing gallery verbs. This extends generate_image; it does not add a new Flow-editing verb.
For an uploaded image reference, put this step after an image upload_attachment step saved
as uploaded in the same run list. Replace YOUR_PROMPT with your instructions:
{"$result":"generated","path":["entry"]}, as in the
image-generation task example. The upload must
be an accepted image MIME type; using a text upload or a previous command’s ID is refused.
Upload media, image or text for this command — upload_attachment
Upload PNG, JPEG, GIF, WebP, plain text, Markdown, CSV, WebVTT, SubRip, an iCalendar .ics file as text/calendar, or supported audio/video formats. upload_attachment keeps its existing 8 MB per file, 12 attachments and 24 MB per connection limits. For larger media files, run has a CLI-only upload_media step: it reads a local file in ordered 1 MiB chunks, then returns a session-owned attachment ID for stage_media. This step accepts PNG, JPG/JPEG, GIF, WebP and the audio/video extensions the app imports: MP4, M4V, MOV, WebM, AVI, MKV, MP3, M4A, WAV, AAC, Ogg/OGA, FLAC, AIF/AIFF and Opus. Available disk space and FlowJoe’s existing reserve determine whether a large upload can be accepted. Staging makes the media available for a later approved placement; it does not place it automatically. PDF, Word and other file types use request_file for the app’s normal import flow.
Changes and approval: Uploads to temporary connection storage; no Flow edit approval.
run JSON list:
{ "$result": "clip", "path": ["attachment", "id"] } as stage_media.attachmentId in a later step in the same run.
Result: An attachment with id, fileName, mimeType and sizeBytes. Read or stage it later in the SAME run list; it disappears when the command ends.
For a direct MCP connection, use begin_media_upload, append_media_upload_chunk, and finish_media_upload in one session. Send ordered chunks of at most 1 MiB and use the completed attachment ID in that session’s stage_media call. See Build and export from a source file over MCP for the video workflow.
Import a Calendar Slot
Useupload_attachment with the file’s base64 bytes and MIME type text/calendar. Pass the
attachment to stage_media with kind: "calendar" and the ID of an ordinary non-Private
destination node in a Local Flow. The importer reads the file and prepares one Calendar Slot with its original
.ics copy. The slot appears after the placement patch is applied. Review it in FlowJoe when
approval appears.
Save this list as calendar-import.json. Replace BASE64_FILE_BYTES with the encoded file and
both instances of YOUR_NODE_ID with the same destination ID.
Import a Calendar Stack
SetcalendarShape to "stack" in the Calendar Slot recipe above. Use the staged key to place the Stack.
Review the placement in FlowJoe. After approval, the destination gets one Stack with an event card for each
imported event and a retained copy of the original .ics. Use Undo to reverse the placement.
calendar-stack-import.json and run flowjoe-cli run calendar-stack-import.json --json.
Use the same ordinary non-Private Local Flow node and connection throughout the import.
Import Calendar Event Cards
UsecalendarShape: "event-cards" to prepare one card per event. The staging response gives
you the card count in entryCount. Place the returned key in one proposal for the same ordinary
non-Private Local Flow node. Review the card count and approve the placement in FlowJoe.
Each placement operation supports up to 500 cards.
calendar-event-cards-import.json and run flowjoe-cli run calendar-event-cards-import.json --json.
Keep the upload, stage and proposal in the same connection.
Import Calendar Event Nodes
SetcalendarShape to "event-nodes" for one child node per group, with each event on its own
card. Set calendarGrouping to "day", "week", "month", "calendar" for the source calendar, or
"flat" for one group. The default is "day". Each import supports up to 500 events across all groups.
Use placeCalendarEventNodes with the staged key and the same ordinary non-Private Local parent
node ID. Review the parent, grouping, and node and event counts in FlowJoe before approving.
calendar-event-nodes-import.json and run flowjoe-cli run calendar-event-nodes-import.json --json.
Keep upload, staging, and the proposal in the same connection.
Read an uploaded attachment or retained attachment memory — read_chat_attachment
Omit mode to read a file uploaded by this MCP connection. Upload IDs belong only to this command. With mode: "memory", read retained attachment evidence from an exact admitted conversation returned by query_history; this never borrows whichever native Joe chat is open. Save an upload step as uploaded before the upload example below.
Changes and approval: Read only; no approval.
run list as its prerequisite:
stage_media to add media to the flow, then read_media_blob to retrieve a placed file. Use inside a run list.
For retained attachment memory, use a query/index/read run list:
textContent, source identity/provenance, revision, range and optional nextStart; use the same record and memory revisions for more. They explicitly say stored_memory_not_original_bytes. A document’s retained memory can remain readable after its original bytes are gone; unavailable or unprovable memories require existing full context or re-sharing. This grants no original-file download or image pixels.
Exact retained-memory addresses with both current revisions can be read in a new authenticated command; upload IDs cannot. Changed stored memory, conversation, privacy, Flow/storage authority, permission or cancellation refuses publication. A memory ID cannot select an uploaded file, and an upload ID cannot select retained memory. External memory reads work with native Joe Off. Native CLI brains use only their exact active turn’s conversation; guests and scheduled runs do not inherit this access.
Ask someone at FlowJoe to choose a file — request_file
Show the app’s file request card; the chosen file is imported into the currently selected node. This uses the regular import flow, including supported formats that upload_attachment does not accept. Keep the user on the intended node.
Changes and approval: Requires a person to choose a file in FlowJoe. —autoapprove does not answer the picker; importing changes the gallery.
Show a node in the app — select_node
Move FlowJoe’s selection and gallery to an existing node. Alternatively use name for an exact case-insensitive name; duplicate names require a nodeId.
Changes and approval: Changes the visible selection immediately; no Flow edit approval or data edit.
Control music and playlists — control_global_player
Control the header player. The action choices and examples below cover playback, queue navigation, mode and saved playlists. Accessible audio only; this is not a transcript or general media editor.
Changes and approval: Immediate playback/UI action; no approval card. CLI and external MCP agents need Propose permission. save_playlist saves a playlist. Flow edit undo does not revert player actions.
saved, drop, target, joe-node or current). For seek, success returns accepted:true, the actual currentTimeSeconds and durationSeconds, plus that same safe player state. No titles, playlist labels or item IDs are returned. Empty queues return nothing_to_play; protected queues return sealed; a missing queued node reference returns target_not_found; an unready current item returns track_not_ready; unknown duration returns duration_unknown; an out-of-range position returns seek_out_of_range; invalid input can fail schema validation before seek runs. An invalid or missing seek time that reaches the action returns invalid_seek_time; a failed native seek returns seek_failed; preview returns preview_in_flight; unavailable player returns player_unavailable; extra arguments return invalid_arguments. Other actions return their player state or an unavailable/invalid-source error.
List changes made by this command — list_recent_changes
Read only this connection’s change history, including approval status. Put it after editing steps in one run list. A separate CLI command starts fresh and cannot report the previous command’s history.
Changes and approval: Read only; no approval.
run list as its prerequisite:
Check a request from this command — get_approval_outcome
Advanced: read the outcome of an approval created in this same connection. The CLI already polls ordinary patch approvals, so most users do not need this action. You cannot use a new CLI invocation to resume a previous request.
Changes and approval: Read only; no approval.
run list as its prerequisite:
Undo this command’s last applied change — undo_last_change
Use after an edit in the SAME run list. It refuses if the Flow changed afterwards, rather than overwriting somebody else’s work. It does not undo a previous CLI invocation, a player action or another agent’s edit.
Changes and approval: Changes the Flow immediately through the existing undo guard; no new patch approval card.
Inputs: none.
Use this as a step in the same run list as its prerequisite:
Music player examples
Save each input below asinput.json, then run
flowjoe-cli action control_global_player --file input.json --json.
load takes either playlist or nodeId, never both. play_tagged and tag-based save_playlist
can add nodeId to limit their search. Playlist names match exactly ignoring case, and saving
refuses duplicate names instead of overwriting them. Read real tag IDs from the snapshot.
Supported staging kinds and file limits
The live staging catalog lists image, PDF, document, audio and video, plus spreadsheet, rich-document and calendar kinds. The external bridge currently cannot stage spreadsheet, rich-document or calendar content, including an uploaded CSV selected as kind spreadsheet. Those importers need a file-attachment handle, while this bridge passes uploaded content to staging as a data URL. Userequest_file and the normal app importer for those workbench types.
The external upload action accepts the image, text, audio and video MIME types listed in its
upload_attachment section. PDF, Word and other unsupported files still require the normal file
chooser. A raw dataUrl can prepare a supported non-workbench kind when its MIME and size are
valid; it does not bypass the workbench restriction. Do not invent an attachment ID or relabel a
file’s MIME type. Staging is preparation, not placement; see the working example.
Transcribe an excerpt
Fortranscribe_audio, pass startSeconds and endSeconds alongside the source identities. For example, startSeconds: 0 and endSeconds: 60 transcribes only the first minute. The audio is clipped before recognition or upload; the source file is unchanged. The completed result includes the actual time range.
Control layers in the open picture — control_image_editor_layers
At Propose, control_image_editor_layers changes the current unsaved picture through the same human layer controls, immediately outside Flow Undo without an approval card. Read read_image_editor first; its existing paginated layer list is unchanged. Pass the fresh editorId, exact expectedRevision from state.document.revision, one action, and an explicit returned layerId on layer-targeting calls; create_point_text is the creation exception. A layer’s selected flag does not guarantee it is the active layer: use select_layer explicitly before changing opacity, blend, text size, text style or text shadow, then use the returned revision.
select_layer: make that layer the active target.- At Propose,
control_image_editor_layerstakesselect_all_layersordeselect_layerswith a fresheditorIdandexpectedRevisionand nolayerId. Select All Layers includes the Picture, hidden layers, groups, and nested layers and keeps the current active layer. If none is active, the editor makes a selected layer active. Deselect Layers clears the selection and active layer. Each call advances the revision once, including repeats. The reply keeps the existing bounded root-layer page. Both actions preserve pixels and the saved Flow. Image Undo still targets the previous picture edit. select_layeraccepts optionalselectionModeset to"toggle"with its exactlayerIdfrom freshstate.layers.items,editorIdandexpectedRevision. It adds an unselected layer or removes one while another remains. The last selected layer stays selected, and a no-op leaves revision unchanged. Omitted mode, null or"replace"preserves the existing one-layer behavior. Real selection changes advance revision once while pixels and saved Flow remain unchanged. Image Undo still targets the previous picture edit.- To discover nested targets, pass
includeLayerTreeastruetoread_image_editor. The opt-instate.layerTreeis a bounded depth-first page withid,name,kind,visible,opacity(0..1),blend,selected,parentIdanddepth, using the samelayerOffsetandlayerLimit. Defaultstate.layersstays root-only. Use a fresh row ID withselect_layer(replace or toggle) orset_layer_visibility(visibleBoolean) and a fresheditorIdandexpectedRevision. Visibility is the child’s own flag; rereadstate.layerTreeto confirm it, since a hidden parent can still hide the child in the image. set_layer_visibility: passvisibleas an explicit boolean.set_layer_opacity: pass integervalue0..100; the target must already be active. Nested rows fromstate.layerTreeare supported; select the exact row first, then use the returned revision and reread the tree to verify its opacity fraction.set_layer_blend: passblendIdexactly one ofNormal,Dissolve,Darken,Multiply,Color Burn,Linear Burn,Darker Color,Lighten,Screen,Color Dodge,Linear Dodge (Add),Lighter Color,Overlay,Soft Light,Hard Light,Vivid Light,Linear Light,Pin Light,Hard Mix,Difference,Exclusion,Subtract,Divide,Hue,Saturation,Color,LuminosityorPass Through. Pass Through applies only to groups. The target must already be active. Nested rows fromstate.layerTreeare supported; select the exact row, use the returned revision, and reread the tree for its current blend label.set_layer_text_size: pass finite numericsizePtfrom 1 through 1296 points; the exact Type layer must already be active. The reply reports the verified size only, not native text runs or content.set_text_defaults: at Propose, pass fresheditorIdandexpectedRevisionwith nolayerId. Supply one or more existing Text toolbar values:font(Inter,JetBrains Mono),weight(Regular,Medium,SemiBold,Bold), finitesizePt1..1296,color#RRGGBB, oralign(left,center). The current selected layer must be non-Type with no pending Crop or Type work.effect.textDefaultshas the same shape. This changes only the next normal point text defaults, not the picture, history, save or current Type formatting.create_rectangle: at Propose, pass fresheditorIdandexpectedRevision, nolayerId, and document-spacex,y,wandhplusfill#RRGGBB.x,yare nonnegative andw,hare positive, with the rectangle inside the image. An optionalstrokehas positivewidthup to 5000 andcolor#RRGGBB. Finish pending Crop or Type work first. The editable Shape ID is returned ineffect.createdLayerId; editor Undo and human Save as New Version apply. The separate saved-source rectangle route is unchanged.replace_layer_textchanges the whole text in the exact active Type layer. At Propose, pass a fresheditorIdandexpectedRevision, itslayerId, and literaltextup to 10,000 characters. An empty string clears the text and keeps the layer. The layer keeps its name. New text uses the first existing character style. Sending identical text preserves the formatting and Undo history. Finish any pending Crop or Text work first. The reply contains bounded draft metadata. Use editor Undo to restore the original text and formatting. The owner saves through Save as New Version.create_point_textadds an editable Type layer using the current Text settings. Pass a fresheditorIdandexpectedRevision, plaintextup to 10,000 characters, and baselinexandyin image pixels inside the picture. OmitlayerIdand finish any pending Crop or Text work first. The reply includes bounded draft metadata and the new ID ineffect.createdLayerId. Undo works in the Image Editor, and the owner saves through Save as New Version.set_layer_text_style: pass one or more offont(Inter,JetBrains Mono),weight(Regular,Medium,SemiBold,Bold),color(#RRGGBB) andalign(left,center). The exact Type layer must already be active.effect.stylereturns only the requested values.set_layer_text_shadow: passonas an explicit Boolean for the exact active Type layer. It adds the standard shadow when absent or shows/hides the existing shadow effect while preserving its settings, Stroke and other effects. The boundedeffect.shadowOnreadback reports the actual state. This changes only the unsaved draft; native editor Undo applies, and the owner saves with Save as New Version.
3 in the example with the exact returned ID. Then save this as editor-layer.json; the script reads fresh state again, selects that target and sets its opacity to 70% using the selection response’s revision:
Create, duplicate and move picture layers
control_image_editor_layers also supports new_layer, duplicate_layer and move_layer in the open unsaved picture, outside Flow Undo. Read fresh editorId and state.document.revision; pass that exact expectedRevision and an explicit numeric layerId from the returned layer list on every call. IDs are nonnegative safe integers, not names or strings.
new_layeruseslayerIdas an explicit active anchor and creates an empty Pixel layer through the human New Layer command.duplicate_layerrequires exactly one selected, active, non-Picture target. Callselect_layerfirst, even if a layer reads as selected. Duplication preserves the actual layer kind and properties through the human command; it is not a flattened conversion. The human multi-layer Duplicate control is unchanged.move_layertakestargetLayerIdandpositionexactlyaboveorbelow. The layer and target must differ; moving the Picture layer is refused. Moving below Picture clamps the result above it, reported by boundedeffect.position.
effect.createdLayerId. Use it directly for later operations; a fresh paginated read may be needed to inspect a created layer outside the first 50 returned entries. The ordinary state shape is unchanged. Use each successful response’s fresh revision in the same MCP connection or CLI run. Pending crop or text, Compare, busy/modal, source/caller, guest and Private guards remain unchanged. Editor Undo/Redo traverses the unsaved draft changes; saving still uses the existing human Save as New Version workflow.
For example, after reading the layers, replace numeric 3 with the chosen non-Picture source ID and numeric 2 with a different returned target ID. Save as editor-layer-structure.json. This selects exactly one source, duplicates it, then moves the real created layer above the target:
Request deletion of a layer in the open picture — request_image_editor_layer_delete
At Propose, request_image_editor_layer_delete asks FlowJoe to open the existing native
Delete/Cancel confirmation for the active non-Picture layer in the current unsaved picture. Read read_image_editor
first and pass its fresh editorId, exact state.document.revision as expectedRevision, and numeric layerId. The
Picture layer and the editor’s last required layer cannot be deleted. After you confirm, the editor
rechecks the same editor, revision and target. You must confirm every request yourself; Joe cannot
choose Confirm and --autoapprove is refused with manual_approval_required. Cancellation returns
{ok:false,error:"cancelled"} without changing the picture.
This request is available only in the owner’s local editor for non-Private images. Private images
and guest routes are refused.
Joe cannot delete a Group layer at all: the editor cannot confirm a group is empty, and deleting one
would also remove everything inside it. Delete groups yourself in the Layers tab.
Save this as editor-layer-delete.json and replace 3 with the exact non-Picture layer ID from the
read:
{ok:true,editorId,state,effect:{deletedLayerId}} with fresh bounded
editor state. It changes only the unsaved draft, outside Flow Undo; the image editor’s Undo/Redo can
restore it. It does not save a gallery version or change the saved source. Save as New Version remains
the commit step. If a request is refused as stale or the target changed, read again before making a
new request. deletion_unconfirmed with mayHaveApplied:true means the layer may already have been
removed: inspect and reread the open picture before retrying. Do not automatically retry an
uncertain deletion.
Changes and approval: Requires Propose access. The owner must confirm the existing Delete Layer dialog every time — automatic approval is refused; the deletion applies one edit to the unsaved draft that the editor’s Undo can restore, outside Flow Undo.
Result: On confirmation, {ok:true,editorId,state,effect:{deletedLayerId}} with fresh bounded editor state.
External owner workflow requests — request_app_workflow
At Propose, request_app_workflow asks the owner to confirm one existing app workflow with a
fixed target. Every request opens a fresh owner confirmation card in FlowJoe; nothing happens before
the owner clicks, and automatic approval cannot replace that click. The inputs depend on the
workflow:
The owner workflow catalog also includes S196
{workflow:"open_shared_call_panel"} and S198 {workflow:"open_node_people_chat",nodeId}. Their exact requests and CLI examples are documented above in Open the owner’s Call panel and Open People Chat for one node.
At Propose, trusted assistants connected through the desktop CLI or MCP can call request_app_workflow for restore, export, import, outside-change review, Calendar downloads and {workflow:"review_remove_calendar_original",nodeId,slotEntryId}, {workflow:"review_retained_recovery_copy"}, {workflow:"check_for_updates"}, {workflow:"open_joe_model_picker"}, {workflow:"open_local_models_settings"}, {workflow:"open_node_people_chat",nodeId}, {workflow:"select_joe_model",modelId}, {workflow:"open_account_profile"}, {workflow:"set_account_avatar_mark",avatarMark}, {workflow:"set_account_display_name",displayName}, {workflow:"submit_text_feedback",kind,title,body}, {workflow:"open_workspace_folder"}, {workflow:"reconnect_workspace_folder"}, {workflow:"create_workspace_folder"}, {workflow:"change_workspace_folder"}, {workflow:"open_feedback_problem"} or {workflow:"open_feedback_idea"}. opened confirms only that the dialog or action is open, not completed — you still make the restore, export, import or resolution choice yourself in FlowJoe. The update check has no target or non-null parameters and requires your fresh click on the floating card. opened confirms only no-argument native dispatch. Depending on platform, the verified updater may download an update and install it on the next normal quit. Installer and restart choices stay in FlowJoe’s native notice, and the assistant receives no updater result, URL or path. The model-picker request remains menu-only and has no target or parameters: click Open model picker to open the existing status-bar menu, then choose the model yourself. The Local Models request also has no target or parameters; click Open Settings to open the mounted Settings → APIs panel focused on Local models. It does not run discovery or change configuration, and returns no addresses, choices or keys. To switch directly, use {workflow:"select_joe_model",modelId} with the exact available model key from Joe’s configured model list. A local server that stops responding makes its cached models unavailable for a switch. The model already selected stays selected. FlowJoe checks availability before showing the card and when you approve. The fresh owner card names the model and provider; click Switch model to apply it for the next Send. The current reply keeps using its selected model. Success returns {ok:true,status:"applied",modelId}. No model options or credentials are returned. For Open model picker, a hidden, disconnected, unavailable or non-desktop status footer refuses before display and is checked again at your click. The account-profile request also has no target or parameters: click Edit profile to open the existing desktop dialog, then edit and save there. opened confirms only that the form is shown, and no profile values, credentials or account writes are returned. The two feedback-form requests have no target or parameters: click Report a problem or Suggest a feature on the fresh owner card to open that existing native form, then review, fill and submit it yourself. Local diagnostic preview preparation starts only after your click. The acknowledgement includes no draft text, screenshot, diagnostic details, account fields, thread or send result. Signed-out or guest sessions, an active feedback form or draft, another modal, and canceled or stale requests refuse. FlowJoe shows you a floating owner request card; Joe chat does not need to be open. Open the workflow with its review or choose-file button, or choose Decline to dismiss the request. The assistant cannot make that choice for you.
The call waits for your choice. A result of opened confirms the handoff started. For Calendar, it confirms that FlowJoe handed the download to the desktop. You still choose the file, export options, restore confirmation or outside-changes resolution yourself. Once opened, the existing document-owned workflow continues after the CLI exits. If the assistant disconnects or a different Flow replaces this one while the card is still pending, the pending request is canceled. Opening does not give the assistant package contents, save paths, import handles or completion metadata, and it does not borrow Joe chat’s permissions.
For an export request, replace the node ID with one from your current Flow and save workflow.json:
--wait uses the existing command deadline, in seconds (default 120). Allow enough time for your choice. It does not add a polling endpoint or report the eventual result. A deadline or disconnect is not proof of completion; check FlowJoe before making another request. While pending, disconnect cancels the request card; after opening, the usual app workflow owns its lifetime. --autoapprove does not choose Open for you.
To switch Joe to Codex 6.2 Sol for the next Send, save this as workflow.json:
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json, then click Switch model on the card titled for Codex 6.2 Sol. The receipt reports the applied model key; Joe’s current reply keeps using its selected model.
For the account profile handoff, save this as workflow.json:
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json, then click
Edit profile on the owner card. The existing desktop form handles all profile reads, edits and
saves.
To set one account avatar mark directly, save this as workflow.json:
{ok:true,status:"applied",avatarMark,changed}. changed:false means Mark 5 was already current.
Profile values and credentials are never returned to the CLI. Existing account authentication and
revision checks apply.
To set your account display name directly, save this as workflow.json:
{ok:true,status:"applied",changed} with Boolean changed; it never receives the name or profile
details. A successfully saved name appears to guests the next time they open or refresh the shared
link.
For a normal Local Flow with no remembered workspace, save this as workflow.json:
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json. Click the
floating Connect Workspace card, then choose the folder in FlowJoe’s native picker. opened
confirms FlowJoe requested the folder chooser. No path, folder, connection or reconciliation outcome is
returned. Changed source, busy or protected workspace state and drafts remain refused by the Local
switch barrier.
When a Workspace root is already remembered, save this as workflow.json:
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json, then click
Reconnect Workspace on the owner card. FlowJoe uses the exact remembered root pinned privately
when the card is prepared. opened confirms only native reconnect dispatch. The existing Settings
transaction owns reconciliation and recovery choices. There is no picker fallback, and no path,
connection state, reconciliation choice or activation outcome is returned. Changed source, busy or
protected workspace state, drafts, cancellation and stale requests remain refused.
For Workspace departure handoffs, save either request as workflow.json:
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json, then click the
fresh owner card. FlowJoe opens the matching existing native confirmation only after your click.
Choose Confirm or Cancel yourself. Switch is available only when its existing control is enabled for
the connected Workspace or an eligible temporary-Local episode. Disconnect is for an active Workspace
only. opened confirms only that the confirmation is shown. Existing copy, save-pause, Local Recovery
Copy and Workspace recovery behavior remain in control of FlowJoe. No path, source, Recovery Copy,
transition, pause or action result is returned.
For a new Workspace chooser, save this as workflow.json:
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json, then click
New Workspace on the owner card. FlowJoe asks you to choose an empty folder in its native
chooser before the existing conversion flow continues. opened confirms only chooser dispatch.
No path, folder, conversion or activation result is returned.
For a connected Workspace change, save this as workflow.json:
opened confirms only chooser dispatch. No path, folder,
connection, reconciliation or activation result is returned.
For a feedback handoff, save either of these as workflow.json:
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json, then click
Report a problem or Suggest a feature on the floating owner card. The existing form performs
the local preview, review, entry and personal submission. opened only confirms that the form was
shown. It does not return a draft, screenshot, diagnostic details, account fields, thread or send
result.
Send a text-only report or idea
Save this text-only report request asworkflow.json.
kind to problem or idea. title is one trimmed line from 1 to 140 Unicode code points.
body is the exact multiline text from 0 to 4,000 code points; an empty body is allowed. FlowJoe
uses the current valid app language automatically. The signed-in desktop owner sees the exact title
and full body on one existing Send report or Send idea card. Nothing is submitted until the
owner clicks it. The request reads no draft, screenshot, diagnostics or linked idea, and makes no
feedback-service request before approval. Success returns only {ok:true,status:"sent",ref:142};
ref is the positive number from the real FJ reference. The full Feedback form remains unchanged.
For an edited Calendar copy, save the following as
workflow.json with the IDs from your current
Flow. Close the saved Calendar Workbench before requesting the copy.
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json. In FlowJoe,
choose Download Calendar on the card showing the exact Calendar and filename. A successful
handoff returns opened. Your desktop download settings control where the file goes, and you can
check the download in FlowJoe.
Use the matching workflow from the table to request the original import, an Event Card, or a
Calendar Stack itinerary. For an Event Card inside a Stack, use the parent Slot ID and exact child
entry ID from the same Flow read. FlowJoe shows the exact file and source before the owner confirms.
To remove a retained original from one exact top-level Calendar item, close that Calendar’s Workbench first if the target is a Calendar Slot, then save this as workflow.json:
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json. Click the
owner card to open FlowJoe’s existing Remove Original Copy confirmation, then choose Remove
Original or Cancel there. opened means only that the confirmation opened; it does not report
your second choice or whether the original was removed. The Calendar itself remains in the Flow.
For a node export, replace the node ID with one from your current Flow and save workflow.json:
--wait uses the existing command deadline, in seconds (default 120). Allow enough time for your choice. It does not add a polling endpoint or report the eventual result. A deadline or disconnect is not proof of completion; check FlowJoe before making another request. While pending, disconnect cancels the request card; after opening, the usual app workflow owns its lifetime. --autoapprove does not choose Open for you.
Review a retained Recovery Copy
Save this asworkflow.json:
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json, then click
Resolve Retained Conflict Copy on the owner card for the current Workspace and Flow. FlowJoe
opens the existing Settings review. Choose Export Conflict Copy, Discard Conflict Copy, or Cancel there.
opened confirms that the review is shown. The response carries only that acknowledgement.
Rebuild a Workspace from a Recovery Copy
Save this asworkflow.json:
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json, then click
Rebuild Workspace on the owner card when the current Workspace is blocked or resolving an
authority mismatch and has a verified Local Recovery Copy. Choose a new folder or cancel in the
picker. FlowJoe rebuilds in the folder you select. The CLI receives only an opened
acknowledgement when the picker opens.
Start a New Local Project from a blocked Workspace
Save this asworkflow.json:
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json, then click
Start New Local Project on the owner card while the Workspace is inactive and blocked without a
verified Local Recovery Copy. FlowJoe opens Create New Flow. Choose Save first,
Create without saving, or Cancel. The CLI receives the opened acknowledgement
when the dialog opens.
Changes and approval: Requires Propose access. The owner clicks a fresh confirmation card in FlowJoe before anything happens — nothing runs before that click, and automatic approval cannot replace it; the existing in-app workflow then owns any further choices.
Result: Usually the bounded opened acknowledgement that the handoff was dispatched — or, for direct-setting workflows, the applied status — never paths, content or completion metadata.
Open Clear Interrupted Save
Save{"workflow":"clear_interrupted_save"} as workflow.json. Run
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json while
Settings offers Clear Interrupted Save. Click the fresh owner card to open the existing
confirmation, then decide in FlowJoe whether to clear the interrupted save or cancel. The CLI
receives only the opened acknowledgement.
Open Retained Reconcile Flows
Save{"workflow":"review_retained_reconcile_flows"} as workflow.json. Run
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json while
Retained Reconcile Flows is available in Settings. Click the fresh owner card to open the list,
then choose a row action or close it in FlowJoe. The CLI receives only the opened acknowledgement.
Ask the owner to Keep Workspace or Use Local Copy
Save{"workflow":"keep_workspace_after_authority_mismatch"} or
{"workflow":"use_local_recovery_copy"} as workflow.json. Run
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json at Propose
while Settings offers the matching action. Click the named owner card to start it in FlowJoe.
opened acknowledges that the action started. Settings shows progress and the recovery result.
Review an unfinished save from another computer
Save{"workflow":"clear_foreign_save"} as workflow.json. Run
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json at Propose
while Settings offers to clear the unfinished save. Click Clear on the owner card to open
the confirmation, then choose Clear or Cancel in FlowJoe. The CLI receives only the
opened acknowledgement.
Open the Delete Workspace confirmation
Save{"workflow":"delete_workspace"} as workflow.json. Run
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json at Propose
when Settings offers Delete Workspace. The owner clicks Delete Workspace on the
request card, then confirms or cancels in FlowJoe. The CLI receives only the opened acknowledgement.
Reveal the remembered Workspace folder
Save{"workflow":"reveal_workspace_folder"} as workflow.json. Run
flowjoe-cli action request_app_workflow --file workflow.json --wait 600 --json at Propose
when Settings offers Reveal Workspace Folder. The owner clicks Reveal Workspace Folder
on the request card. The file manager shows the remembered folder and the CLI receives opened.
Cancel or discard a Workspace copy
Use{"workflow":"cancel_workspace_operation"} when Settings offers Cancel for a
cancellable copy, or {"workflow":"discard_interrupted_workspace_copy"} when Settings offers
Discard interrupted copy for an unfinished staging copy. Run the request at Propose and
click the matching fresh owner card. opened acknowledges dispatch. Settings shows progress and
completion. The assistant receives no operation details.
Set, Apply, Cancel or undo/redo the open picture’s Crop frame — control_image_editor_crop
At Propose, Joe, authenticated brain CLI runs and external CLI/MCP can use the existing Crop controls on the open unsaved picture. Read read_image_editor first. Every call passes one action with fresh editorId, exact state.document.revision as expectedRevision, and exact state.pending.crop as expectedCrop. Ratio and straighten require that snapshot even when it is null; Apply, Cancel, undo_frame and redo_frame require a non-null exact snapshot and take no ratio or angle value. Use the returned state for the next call.
set_ratio:ratioisoriginal,free,square,portraitorstory.set_straighten:angleis finite, −45..45 degrees, in 0.5-degree steps.apply: applies the exact pending frame through the same commit used when pressing Enter in Crop. It returns{ok:true,editorId,state,effect:{cropped:boolean}};truemeans one document revision changed, whilefalseis a successful full-image no-op with unchanged revision/history and a refreshed crop frame that may be refit.cancel: uses the existing Crop Cancel control to restore the default pending frame. It returns{ok:true,editorId,state,effect:{cancelled:boolean}}, the editor’s acknowledgement; the refreshed frame may be identical to its previous value. Cancel clears the crop frame’s own Undo/Redo history. Document revision, document Undo/Redo and Flow Undo are unchanged.undo_frame/redo_frame: step the Crop frame’s own history. Both require the exact non-nullexpectedCropand fresh revision, withratioandangleomitted or null. Return fresh state and{changed:boolean}ineffect;falsemeans the selected frame stack is empty and never triggers document Undo/Redo. Only Crop-recorded frame entries are traversed; ratio/straighten choices and arrow-key movement are not guaranteed to create entries.
Retry or dismiss a Workspace failure
At Propose, callrequest_app_workflow with {"workflow":"retry_workspace_action"} when Settings
offers a Workspace Retry, or {"workflow":"dismiss_workspace_failure"} to clear only the failure
message. The owner clicks the fresh card. Retry names the exact action. Delete and Disconnect reopen their
confirmations. Rebuild opens its folder chooser. The CLI receives only opened.
Inspect Stale References
At Propose, callrequest_app_workflow with {"workflow":"inspect_stale_media_references"}.
The desktop owner clicks Inspect Stale References on the approval card to open the report for
the current Flow. The CLI receives only opened when the review opens. The owner can preview
and apply any available safe repairs inside FlowJoe.
Repair stale media metadata
At Propose, save this fixed no-argument request inworkflow.json:
{ok:true,status:"applied"}. Cancel returns {ok:true,status:"canceled"}. A stale
source or persistence failure returns a bounded indication. Candidate reports, keys, names, counts,
roots and media remain in Settings. This is separate from inspect_stale_media_references, which
only opens the review and returns opened.
Review orphaned media for recovery
At Propose, save this fixed no-argument request inworkflow.json:
Check media references on one node — read_media_reference_health
At Read or Propose, ask Joe to check local media references for one node in the open Local Flow. The result counts distinct readable local references as references, present and missing. A known node with no references returns zero for all three. It does not include file contents, names, links or storage keys.
Save this JSON as media-health.json, replacing the example value with an exact nodeId from the current Flow:
references, present and missing — with no titles, links, keys, paths or media data.
Purge orphaned media
At desktop-owner Propose in classic Local, save this fixed no-argument request inworkflow.json:
applied after the operation succeeds. Joe
receives no candidate names, keys or counts. Workspace Storage Stats continues reporting reclaimable
media without deletion; this handoff is classic Local only.
The recovery request above remains separate.
Change a restore-point retention limit
At desktop-owner Propose, save this JSON asworkflow.json and run the existing action:
retentionKind to timer, risky, or manual, and retainCount to an integer from 0 to 50. Review the card naming the current Flow, exact kind, and count, then approve it yourself. FlowJoe changes one future retention limit and leaves the existing restore points in place at Apply. Normal retention enforcement may later remove older points of that kind; renamed points follow their existing rules. Success returns {ok:true,status:"applied",retentionKind,retainCount,changed}. An already-effective count is a no-write no-op.
Create a restore point
At desktop-owner Propose, save this JSON asworkflow.json:
{ok:true,status:"applied"} after the point is acknowledged. Normal retention rules may later remove eligible older unnamed points.
Mark a saved version as a restore point
Usequery_history with kind:"version" and take the positive safe integer from the version row’s metadata.revision. The top-level revision is a digest, not the version number.
At desktop-owner Propose, save the following JSON as workflow.json, replacing 123 with that metadata.revision value.
{ok:true,status:"applied"} after the bookmark is acknowledged. Normal retention may prune eligible older unnamed points.
Find restore points
Usequery_history with kind:"restorePoint" to find restore points in the current Flow. Results identify each point and its saved version and date. Separate points on one saved version have separate record IDs. This is a metadata-only read and does not open or restore a point.
Save the following JSON as workflow.json to list restore points.
Change automatic restore-point cadence
At desktop-owner Propose, save this JSON asworkflow.json and run the existing action:
cadenceMs must exactly match one of the Settings options: 900000, 1800000, 3600000, 7200000, 14400000, 21600000, 43200000, or 86400000. Review the card naming the current Flow and localized schedule, then approve it yourself. FlowJoe changes only the cadence. If that schedule is already active, including the default hourly schedule, no setting is written. The bounded result is {ok:true,status:"applied",cadenceMs,changed}. This action does not create, delete, or restore a checkpoint.
Change automatic restore points
At Propose, save this JSON asworkflow.json:
on to true to enable automatic restore points or false to disable them. The desktop owner
confirms a card naming the current Flow and the exact enable or disable change. FlowJoe updates the
existing Save restore points automatically setting only after approval and verifies the saved
setting. If it already has the requested value, no setting change is made. If the setting cannot be
read unambiguously, the request is refused. The result reports only the applied setting value and
whether it changed. Turning automatic points off leaves History, Undo and manually saved restore
points available.
Clear detached prompt history
At Propose, save this JSON asworkflow.json:
applied, canceled or unavailable. Prompt text, keys, IDs, counts, models and
account data stay in Settings. The CLI reports only whether the action applied, was canceled, or
was unavailable.
Open Public ideas
At Propose, callrequest_app_workflow with {"workflow":"open_feedback_ideas"}. The signed-in
desktop owner clicks Public ideas on the approval card to load the existing list. The CLI
receives only opened. Idea titles, your votes, and results stay in FlowJoe.
Add or remove your vote from a Public idea
Save the exact public idea title and whether to add or remove your vote inworkflow.json:
ideaTitle is limited to 140 characters; on is a Boolean (true adds your vote, false removes
it). The signed-in desktop owner must approve a confirmation that names the exact title and change.
No idea list is read before approval. After approval, FlowJoe checks the current signed-in account and
requires exactly one matching public, open idea. Missing or duplicate titles, Done ideas, and
ideas marked You asked for this are refused. If the vote already matches on, nothing changes.
The CLI receives only {ok:true,status:"applied",voted,changed} with Boolean values. Titles, IDs,
vote counts, account details and public-list data stay in FlowJoe.
Open Your reports
At Propose, callrequest_app_workflow with {"workflow":"open_feedback_reports"}. The signed-in
desktop owner clicks Your reports on the approval card. Viewing this Account section can
mark replies as seen. The CLI receives only opened. Reports and replies stay in FlowJoe.
Review Feedback as an admin
A signed-in FlowJoe admin can useread_feedback_admin at Read or Propose. Omit reference to list recent reports, or provide one exact reference from Feedback. At Propose, update_feedback_admin needs that exact reference and at least one requested change. FlowJoe shows the existing admin confirmation; click Save yourself. Do not use --autoapprove for this action.
For example, save the exact reference returned by the read as feedback-read.json:
feedback-update.json. This example marks a linked public idea Done:
status:"fixed" to mark a problem Fixed or a private idea Done. Use ideaStatus:"done" for a linked public idea. The two fields are alternatives. Only use a reply when the admin asks for that exact text. The action changes only fields you supply; after a successful save, a reply may be emailed to the reporter.
Review deleting a browser tab group
Useread_browser_tab_groups to get the exact group ID and current active public tab ID.
At Propose, send request_app_workflow with both IDs.
opened confirms the rail opened. The CLI
receives no deletion result. Read the groups again if the browser source changes.
Open Browser History
Readread_browser_controls and use its exact state.activePublicTabId. With that public
tab active and the browser attached, call request_app_workflow at Propose.
opened. The drawer’s contents stay in FlowJoe.
Apply number formatting to the current spreadsheet selection
Readread_spreadsheet_editor with includeSelectionNumberFormat:true to inspect
state.selectionNumberFormat:{pattern,truncated} from the first selected range’s top-left cell.
The pattern is literal, limited to 500 UTF-16 code units, and empty for no explicit format/General;
the read returns no cell values or formulas. At Propose the existing
request_spreadsheet_editor_format accepts format_currency, format_percent,
increase_decimal_places and decrease_decimal_places, matching the four native Number toolbar
buttons. Use fresh same-connection editor ID, revision and sheet ID for the current contiguous
selection. The owner must click Apply and the save must be confirmed. Currency follows workbook
region; Percent applies native 0%. Currency, Percent and decimal-place actions preserve values and
formulas. General removes explicit number formatting and may normalize stored cell types. Native Workbook
Undo restores the saved format. Existing worksheet/range permissions apply. Eligible unlocked Private Workbooks also support these format actions through owner Joe API and authenticated owner CLI brain; guests and external CLI/MCP cannot use Private Workbooks.
Apply the Number menu preset
The existingrequest_spreadsheet_editor_format accepts action:"format_number" using a fresh same-route editor ID, document revision and active sheet ID. It applies the native Number preset (0) to the current selection without accepting a range or cell contents. Values, types and formulas remain unchanged; blank cells receive Number formatting, and numeric cells stored in scientific notation are skipped. If all selected cells are skipped, no approval or save occurs. Require manual owner Apply; CLI --autoapprove cannot approve it. Workbook Edit, Worksheet Edit, SetCellStyle and Edit permission for the selected range apply. Workbook Undo restores prior display formats. This is distinct from format_general and the four existing Currency/Percent/decimal actions.
Apply the Date menu preset
The existingrequest_spreadsheet_editor_format accepts action:"format_date" using a fresh same-route editor ID, document revision, active sheet ID and current selection. It applies the native Date preset (yyyy-mm-dd;@) to the exact current normal rectangle; the request takes no caller-supplied range, cell values or custom pattern. This is set-only formatting: raw values, types and formulas stay unchanged. Numeric cells stored in scientific notation are skipped and keep their existing format; eligible cells receive Date formatting. If all selected cells are skipped, no proposal or approval is created. Numeric serials are not implicitly converted. Require manual owner Apply before the native journal save and wait for confirmed save; CLI --autoapprove cannot approve it. Workbook Edit, Worksheet Edit, SetCellStyle and Edit permission for the selected range apply. Workbook Undo restores prior display formats.
Apply the Scientific menu preset
The existingrequest_spreadsheet_editor_format accepts action:"format_scientific" using a fresh same-route editor ID, document revision, active sheet ID and selection. It applies the native Scientific preset (0.00E+00) to the exact current normal rectangle without accepting a caller-supplied range or cell contents. This set-only formatting preserves raw values, types and formulas, including values represented with exponent syntax. Require manual owner Apply; CLI --autoapprove cannot approve it. Workbook Edit, Worksheet Edit, SetCellStyle and Edit permission for the selected range apply. Workbook Undo restores prior display formats. Scientific is a native menu preset, distinct from the quick Percent toolbar action.
Apply Text, Percentage, and Financial value menu presets
request_spreadsheet_editor_format accepts format_text (@), format_percent_two_decimals (native Percentage menu, 0.00%) and format_financial_value (native Financial value menu, #,##0.00;[Red]#,##0.00) on the exact fresh writable contiguous selection. This is set-only: raw values, types and formulas stay unchanged. Text formatting includes numeric cells stored with exponent syntax; Percentage and Financial value skip those cells. If all cells are skipped, no card or save is requested. The menu Percentage format shows two decimals and is distinct from quick toolbar format_percent (0%). The owner must click Apply and wait for confirmed save; native Workbook Undo restores prior formats. Workbook Edit, Worksheet Edit, SetCellStyle and selected-range Edit permissions apply; Unlocked Private Workbooks also support these format actions through owner Joe API and authenticated owner CLI brain; guests and external CLI/MCP cannot use Private Workbooks.Apply Accounting and Rounding up the currency menu presets
request_spreadsheet_editor_format accepts the fixed actions format_accounting and
format_rounding_currency for the native Accounting and Rounding up the currency menu
presets. Use the exact current normal rectangular selection from a fresh same-route read; the action
accepts no caller range, cell values, currency input or custom pattern. Both formats preserve raw
values, types and formulas, follow the Workbook’s current region and currency symbol, and skip
numeric cells stored in scientific notation. The native vendor locale fallback is $. Accounting
uses "S" #,##0.00_);[Red]("S"#,##0.00) with a positive-value space. Rounding up the currency
uses "S"#,##0;[Red]"S"#,##0 and changes displayed precision only. The owner must click Apply
and wait for the correlated save; if the effective pattern changes before Apply, make a fresh
request for approval. Native Workbook Undo restores prior formats. Workbook Edit, Worksheet Edit,
SetCellStyle and selected-range Edit permissions apply. If every selected cell is
skipped, no card or save is requested. Unlocked Private Workbooks also support these format actions through owner Joe API and authenticated owner CLI brain; guests and external CLI/MCP cannot use Private Workbooks.
Apply a custom Workbook number format
The existingrequest_spreadsheet_editor_format accepts action:"format_custom" with a pattern
string of 1–500 characters. It must not be blank; preserve its spaces. Use fresh same-route editor ID,
revision and active sheet ID for the exact current normal editable rectangle. The request accepts no
caller range or cell contents and does not change native recent-format preferences. The native number
format parser validates the pattern. The owner approval names the exact pattern and range and always
requires manual Apply; CLI --autoapprove cannot approve it. FlowJoe confirms the correlated save,
and Workbook Undo restores the previous format. Values, types and formulas remain unchanged. Numeric
cells with exponent syntax are eligible for General, @, @@@, and native scientific formats.
Other patterns skip them. If no cell is eligible, there is no card or save.
For the native UI, choose Formats > Custom Format, edit the pattern, then click Confirm.
Workbook Edit, Worksheet Edit, SetCellStyle and selected-range Edit permissions apply. Unlocked Private Workbooks also support this format through owner Joe API and authenticated owner CLI brain; guests and external CLI/MCP cannot use Private Workbooks.
Private Workbook formatting and history
Owner Joe API and authenticated owner CLI brain can userequest_spreadsheet_editor_format and one-step Undo/Redo through request_spreadsheet_editor_history on an unlocked, open Private Workbook. Each still needs manual owner approval and a confirmed encrypted save. Hide from Joe blocks Joe’s visibility; locked Private Workbooks, guests, external CLI/MCP and other Private writes remain excluded.
Apply Time, Date and time, and Duration Time menu presets
request_spreadsheet_editor_format accepts format_time (am/pm h":"mm":"ss), format_date_time (yyyy-m-d am/pm h:mm) and format_duration ([h]:mm:ss).
Use the exact current writable rectangle from fresh same-route selectors. The native owner card shows the exact range and selected preset label; manual Apply, confirmed save and Workbook Undo apply. These formats change display only, preserving raw values, types and formulas. Scientific-notation numeric cells are skipped; an all-skipped selection creates no card. No custom pattern or implicit serial conversion is accepted. Workbook Edit, Worksheet Edit, SetCellStyle and selected-range Edit permissions apply; Unlocked Private Workbooks also support these format actions through owner Joe API and authenticated owner CLI brain; guests and external CLI/MCP remain excluded.
Set the current range to General number format
The existingrequest_spreadsheet_editor_format accepts action:"format_general" with the fresh editor ID, document revision and active sheet ID from a same-connection read. It applies General number formatting to the current selection without accepting a range or cell contents. It removes explicit number formatting and may normalize stored cell types. Require manual owner Apply; CLI --autoapprove cannot approve it. Workbook Edit, Worksheet Edit, SetCellStyle and Edit permission for the selected range apply. Native Workbook Undo can reverse the change.
Set or adjust Workbook font size
With an ordinary owner Workbook open, select one contiguous rectangle and finish typing in any cell. At Read or Propose,read_spreadsheet_editor with
includeSelectionFontSize:true reports numeric state.selectionFontSize in points for the native
primary cell (11 by default), without cell values or formulas. At Propose, ask Joe to set the
selection to a finite numeric size from 6 through 400 points, including fractional sizes, or ask him
to increase or decrease it using the native relative controls. The set-size request uses
set_font_size with fontSize; relative requests use increase_font_size or decrease_font_size
without a size argument. Review the exact requested size in the existing Apply card. FlowJoe
confirms only after the save; Workbook Undo restores the prior formatting. Values and formulas stay
unchanged. Unlocked Private Workbooks also support these format actions through owner Joe API and authenticated owner CLI brain; guests and external CLI/MCP remain excluded.
Set the Workbook font family
With an ordinary owner Workbook open, select one contiguous rectangle and finish typing in any cell. At Read or Propose, callread_spreadsheet_editor with
includeSelectionFontFamily:true to read state.selectionFontFamily from the native toolbar’s
primary cell and state.fontFamilyChoices from the active Workbook’s exact font choices. This
read returns no cell values or formulas. At Propose, request_spreadsheet_editor_format
accepts set_font_family with one exact fontFamily from that choices list for the current
selection. Use the same-connection editor ID, revision and sheet ID from a fresh read. The existing
owner Apply card shows the chosen family and captured range. Approval is manual; FlowJoe
confirms after the correlated save, and native Workbook Undo restores the previous formatting.
The read follows the existing visibility and authorized-target checks. Workbook, worksheet, style and
range permissions are checked at preparation and application. Eligible unlocked Private Workbooks can use font-family formatting through owner Joe API and authenticated owner CLI brain; guest workbooks remain excluded.
Set or reset Workbook text and fill colors
Readread_spreadsheet_editor with includeSelectionColors:true to inspect
state.selectionColors:{text,fill} for the native toolbar primary cell. The read returns each
composed color as opaque #RRGGBB or null, with no cell values, formulas or whole-range
consensus. It follows the existing read visibility and authorized-target checks, including an
eligible unlocked Private Workbook when Joe is authorized to see it.
To read the border style and color of one selected visible, ordinary unmerged cell, pass
includeSelectionBorderStyle:true to read_spreadsheet_editor at Read or Propose. The result
is state.selectionBorderStyle:{style,color} from the native Borders panel’s first color/style pair.
A blank cell returns two null fields. An unavailable style or opaque color returns null in its
own field. The read reports one pair of formatting values even when the cell has several different
edges. It leaves the Workbook and selection as they are.
At Propose, request_spreadsheet_editor_format accepts set_text_color, reset_text_color,
set_fill_color and reset_fill_color for the current contiguous selection. Set actions require an
exact opaque #RRGGBB color; reset actions omit color. Use the fresh same-connection editor ID,
revision and sheet ID. The existing owner Apply card shows the exact color and captured range
for a set, or the range for a reset. Reset restores the native default text color or native no-fill
state (not white). The owner must click Apply; FlowJoe reports success only after the save, and
native Workbook Undo restores the previous formatting. Workbook, worksheet, style and range
permissions apply at preparation and application. Eligible unlocked Private Workbooks can use these format actions through owner Joe API and authenticated owner CLI brain; guests and external CLI/MCP cannot use Private Workbooks.
Set horizontal borders in the open Workbook
Select one current normal, unmerged rectangular range spanning at least two rows, then userequest_spreadsheet_editor_format with action:"set_horizontal_borders", an exact opaque
color in #RRGGBB, and one native borderStyle: thin, hair, dotted, dashed, dash_dot,
dash_dot_dot, medium, medium_dashed, medium_dash_dot, medium_dash_dot_dot, thick or
double. The existing owner card names the selected range, color and style and requires manual
Apply; --autoapprove cannot approve it. FlowJoe confirms the save, and Workbook Undo restores
the prior borders. Only interior horizontal borders change. Existing Workbook permissions and
owner Private Workbook rules apply; external CLI/MCP cannot write Private Workbooks.
Freeze or unfreeze panes in the open Workbook
Use one CLI run to read the active sheet’s freeze configuration and request a native freeze action. The owner must approve the existing card each time; CLI--autoapprove cannot approve it. The card
shows the active sheet and the actual affected row numbers and column letters.
state.freezePanes:{startRow,startColumn,xSplit,ySplit} and no cell values or
formulas. action must be exactly freeze_selection, freeze_selected_rows,
freeze_selected_columns, freeze_first_row, freeze_first_column or unfreeze. Freeze actions
use the live native selection and viewport. Freeze and unfreeze requests require an ordinary owner
Workbook. Success requires a confirmed save, and native Workbook Undo
restores the prior freeze configuration. This changes sheet view configuration without editing
cells. Read again before another request.
Add a blank worksheet to the open Workbook
Read the Workbook and request one blank worksheet in the same CLI run. The action accepts the fresheditorId and expectedRevision only; use $result references from the read. After approval, FlowJoe appends one sheet using the editor’s next available localized name, with 1,000 rows and 20 columns, and activates it. The request does not accept a name, dimensions, placement or cell data.
Permission to edit the Workbook and create sheets is required for an ordinary owner Workbook. The approval card names the Workbook; the owner must click Apply, and --autoapprove cannot approve it. Success follows the confirmed save as {ok:true,sheet:{id,name},saved:true}. Native Workbook Undo removes the exact new sheet. Private and guest write routes are excluded. For a later rename, read again and use the separate rename action.
Duplicate the active worksheet in the open Workbook
Read the Workbook and request a copy of its active visible worksheet in the same CLI run. Pass the fresh editor ID, document revision and active sheet ID from that read. The existing owner approval names the sheet and requires a manual Apply;--autoapprove cannot approve it. After approval, the native Copy command creates a new sheet ID with the editor’s available localized copy name, inserts the copy immediately after the source and activates it. Workbook Edit and CreateSheet permissions are required for an ordinary owner Workbook. Private and guest writes are excluded.
Success follows the confirmed save as {ok:true,sourceSheetId,sheet:{id,name},saved:true}. Native Workbook Undo restores the prior workbook. If the result is uncertain, inspect and reread before retrying.
Delete the active worksheet in the open Workbook
Read the Workbook and request deletion of its exact active visible worksheet in the same CLI run. The worksheet-tab menu’s Delete command opens the existing Delete worksheet dialog every time; the owner clicks OK to confirm or Cancel to keep the sheet, and--autoapprove cannot approve it. Hidden worksheets and the last visible worksheet cannot be deleted. Workbook Edit and DeleteSheet permissions are required for an ordinary owner Workbook. Private and guest writes are excluded.
Success {ok:true,sheetId,activeSheetId,saved:true} follows the confirmed deletion and save. Ordinary small deletions support native Undo and Redo. For a large deletion, the editor shows its existing warning and clears Workbook history. If the result is uncertain, inspect and reread before retrying.
Insert one row below the selected row in the open Workbook
Select exactly one row in the Workbook. Read the Workbook and request one insertion below that row in the same CLI run. Use the fresh editor ID, document revision, active sheet ID and zero-based selected row fromstate.selection.range. The native row-header Insert After action inserts one row. The owner must click Apply, and --autoapprove cannot approve it. Permission to edit the Workbook, worksheet and selected cells, and to insert rows, is required for an ordinary owner Workbook. Private and guest write routes are excluded.
Success {ok:true,sheetId,insertedRow,saved:true} follows the confirmed save; insertedRow is the zero-based row immediately below the selected row. Native Workbook Undo removes the inserted row. If the result is uncertain, inspect and reread before retrying.
Insert one row above the selected row in the open Workbook
Select exactly one row in the Workbook. Read the Workbook and request one insertion above that row in the same CLI run. Use the fresh editor ID, document revision, active sheet ID and zero-based selected row fromstate.selection.range. The native row-header Insert Rows Above action inserts one row at that index. The owner must click Apply, and --autoapprove cannot approve it. Permission to edit the Workbook, worksheet and selected cells, and to insert rows, is required for an ordinary owner Workbook. Private and guest write routes are excluded.
Success {ok:true,sheetId,insertedRow,saved:true} follows the confirmed save. insertedRow is the zero-based selected row. Native Workbook Undo removes the inserted row. If the result is uncertain, inspect and reread before retrying.
Set one selected row height in the open Workbook
Select exactly one full row from its native row header. Read the Workbook and request the height in the same CLI run, using the fresh editor ID, document revision, active sheet ID and zero-based row fromstate.selection.range.startRow. heightPx is an integer from 2 through 1,000. The existing owner confirmation requires manual Apply; --autoapprove cannot approve. Workbook Edit, Worksheet Edit and SetRowStyle, and full-row Range Edit permissions apply. Private and guest writes are excluded.
{ok:false,error:"no_change"} before approval or saving. A changed row returns {ok:true,sheetId,row,heightPx,saved:true} only after the native height and automatic-height state are proved and the correlated save is confirmed. Workbook Undo restores both the prior height and automatic-or-fixed behavior.
Set one selected column width in the open Workbook
Select exactly one visible column from its native column header. Read the Workbook and request the width in the same CLI run, using the fresh editor ID, document revision, active sheet ID and zero-based column fromstate.selection.range.startColumn. widthPx is an integer from 2 through 1,000. The existing owner confirmation requires manual Apply; --autoapprove cannot approve. Workbook Edit, Worksheet Edit and SetColumnStyle, and full-height Range Edit permissions apply. Private and guest writes are excluded.
{ok:true,sheetId,column,widthPx,saved:true} only after the matching width mutation and correlated save are confirmed.
Fit one selected row to its data in the open Workbook
Select exactly one visible row from its native row header. Read the Workbook and request the fit in the same CLI run, using the fresh editor ID, revision, active sheet ID and zero-based row fromstate.selection.range.startRow. The ordinary owner Workbook requires Workbook Edit, Worksheet Edit and SetRowStyle, and full-row Range Edit. The existing owner confirmation requires manual Apply; --autoapprove cannot approve.
{ok:true,sheetId,row,autoHeight:true,heightPx,saved:true}. Workbook Undo restores the previous height and mode. Use an ordinary owner-local Workbook.
Fit one selected column to its data in the open Workbook
Select exactly one visible column from its full-height native column header. Read the Workbook and request the fit in the same CLI run, using the fresh editor ID, revision, active sheet ID and zero-based column fromstate.selection.range.startColumn. The ordinary owner Workbook requires Workbook Edit, Worksheet Edit and SetRowStyle, and full-height Range Edit. The existing owner confirmation requires manual Apply; --autoapprove cannot approve.
column-fit.json and run it with flowjoe-cli run column-fit.json --json. The native Fit for data action measures content using its current view and saves the resulting width. The result is {ok:true,sheetId,column,widthPx,saved:true} after the correlated save is confirmed. Workbook Undo restores the prior width. Keep the Workbook ordinary and owner-local.
Hide one selected visible row in the open Workbook
Select exactly one visible row from its row header. Read the Workbook and request the hide in the same CLI run using the current editor ID, revision, active sheet and zero-based selected row. Joe verifies the native row-header selection. You need permission to edit the Workbook and worksheet, change row visibility, and edit the entire selected row. Hidden or filtered rows and the last row that is not hidden are refused. The existing Hide Selected Row confirmation requires your manual Apply click;--autoapprove cannot approve it. Native Workbook Undo restores row visibility.
{ok:true,sheetId,hiddenRow,saved:true} only after the exact row is hidden and the Workbook save is confirmed. Read again before another request, including when the result is uncertain.
Show one hidden row in the open Workbook
Select a row-header span that includes exactly one hidden row. Often the hidden row sits between two adjacent visible row headers. Read the Workbook and request the show in the same CLI run using the current editor ID, revision, active sheet and exact zero-based span edges fromstate.selection.range. Joe verifies that exactly one row in the span is hidden. You need permission to edit
the Workbook and worksheet, change row visibility, and edit the entire selected span. The existing
Show Hidden Row confirmation requires your manual Apply click. --autoapprove cannot approve it.
FlowJoe confirms after the row becomes visible and the Workbook save is confirmed. Filters stay applied,
row and column dimensions remain unchanged, and native Workbook Undo hides the row again.
{ok:true,sheetId,shownRow,saved:true} only after the exact row is shown and saved. Read again before
another request, including when the result is uncertain.
Delete one selected row in the open Workbook
Select exactly one visible row. Read the Workbook and request its deletion in the same CLI run. Use the fresh editor ID, document revision, active sheet ID and zero-based selected row fromstate.selection.range. Review the existing Delete Row confirmation and click Apply. --autoapprove cannot approve it. Permission to edit the Workbook, worksheet and entire selected row, plus row-delete permission, is required for an ordinary owner Workbook. Hidden or filtered rows and the last row that is not hidden are refused. Private and guest write routes are excluded.
Success {ok:true,sheetId,deletedRow,saved:true} follows confirmed removal of the exact row and save. deletedRow is the zero-based selected row. Native Workbook Undo restores the deleted row. If the result is uncertain, inspect and reread before retrying.
Hide one selected visible column in the open Workbook
Select exactly one visible column from its column header. Read the Workbook and request the hide in the same CLI run using the current editor ID, revision, active sheet and zero-based selected column. Joe verifies the native column-header selection. You need permission to edit the Workbook and worksheet, change column visibility, and edit the entire selected column. Hidden or filtered columns and the last column that is not hidden are refused. The existing Hide Selected Column confirmation requires your manual Apply click.--autoapprove cannot approve it. Native Workbook Undo restores column
visibility.
{ok:true,sheetId,hiddenColumn,saved:true} only after the exact column is hidden and the Workbook save
is confirmed. Read again before another request, including when the result is uncertain.
Show one hidden column in the open Workbook
Select a column-header span that includes exactly one hidden column. Often the hidden column sits between two adjacent visible column headers. Read the Workbook and request the show in the same CLI run using the current editor ID, revision, active sheet and exact zero-based span edges fromstate.selection.range. Joe verifies exactly one column in the span is hidden. You need permission to edit the Workbook and worksheet, change column visibility, and edit the entire selected span. The existing Show Hidden Column confirmation requires your manual Apply click. --autoapprove cannot approve it. FlowJoe confirms after the column becomes visible and the Workbook save is confirmed. Column dimensions remain unchanged, and native Workbook Undo hides the column again.
Delete one selected column in the open Workbook
Select exactly one visible column. Read the Workbook and request its deletion in the same CLI run. Use the fresh editor ID, document revision, active sheet ID and zero-based selected column from the exact one-columnstate.selection.range. Review the existing Delete Column confirmation and click Apply. --autoapprove cannot approve it. Permission to edit the Workbook, worksheet and entire selected column, plus column-delete permission, is required for an ordinary owner Workbook. Hidden columns and the last column that is not hidden are refused before approval. Private and guest write routes are excluded.
Success {ok:true,sheetId,deletedColumn,saved:true} follows removal of the exact full-height column and confirmed save. deletedColumn is the zero-based selected column. Native Workbook Undo restores the deleted column. If the result is uncertain, inspect and reread before retrying.
Insert one column left of the selected column in the open Workbook
Select exactly one column in the Workbook. Read the Workbook and request one insertion to the left of that column in the same CLI run. Use the fresh editor ID, document revision, active sheet ID and zero-based selected column fromstate.selection.range. The native column-header action that inserts to the left inserts one column at that index. The owner must click Apply. --autoapprove cannot approve it. Permission to edit the Workbook and worksheet, to insert columns, and to edit the entire selected column even if you selected only some of its cells is required for an ordinary owner Workbook. Private and guest write routes are excluded.
Success {ok:true,sheetId,insertedColumn,saved:true} follows the confirmed save. insertedColumn is the zero-based selected column. Native Workbook Undo removes the inserted column. If the result is uncertain, inspect and reread before retrying.
Insert one column right of the selected column in the open Workbook
Select exactly one column in the Workbook. Read the Workbook and request one insertion to its right in the same CLI run. Use the fresh editor ID, document revision, active sheet ID and zero-based selected column fromstate.selection.range. The native column-header insert-right action inserts one column at column + 1. The owner must click Apply. --autoapprove cannot approve it. Permission to edit the Workbook and worksheet, to insert columns, and to edit the entire selected column even if you selected only some of its cells is required for an ordinary owner Workbook. Private and guest write routes are excluded.
Success {ok:true,sheetId,insertedColumn,saved:true} follows the confirmed save. insertedColumn is one greater than the zero-based selected column. Native Workbook Undo removes the inserted column. If the result is uncertain, inspect and reread before retrying.
Show or hide gridlines on a sheet in the open Workbook
Read the active sheet’s gridline visibility, then request the exact show or hide action. The owner must approve each actual change in the existing card; CLI--autoapprove cannot approve it. The card
names the target sheet.
state.gridlinesVisible; the default read remains unchanged. The
request requires exact Boolean visible and the fresh same-connection editor ID, revision and
sheet ID. It applies to an ordinary writable owner Workbook and the exact sheet, without depending
on selection or viewport. A matching visibility is a side-effect-free no-op after permission and
freshness checks. A changed request uses the native approval and save path; success follows a
confirmed save as {ok:true,visible,saved:true}, and native Workbook Undo restores the prior
visibility. A matching request returns {ok:true,visible,changed:false,saved:false} after permission
and freshness checks, without a write or card. Read again after a change.
Set the active worksheet tab color
Read the active sheet’s current tab color and request an opaque six-digit hex color in one CLI run. The native owner confirmation requires a manual Apply for every actual change;--autoapprove cannot approve it. A matching color opens no card and saves nothing. Workbook Undo restores a saved change. Private and guest writes are excluded. Joe has no reset action; use the desktop Change Color picker.
state.sheetTabColor as canonical #RRGGBB or null; omitting the option (or passing false) keeps the former response shape. The write targets the exact active visible sheet in an open ordinary owner Workbook with native Workbook Edit permission. Accepted hex letters are normalized to uppercase. Matching success is {ok:true,color,changed:false,saved:false}; a real change returns {ok:true,color,saved:true} after confirmed save.
Reorder visible worksheet tabs in the open Workbook
Read the Workbook and its paginated visible worksheet tabs first withread_spreadsheet_editor({sheetTabsOffset:0}); follow each nextOffset until you find the target anchor. The exact active source ID and visible anchor ID must come from that read. If the source is not active, activate it with the Workbook view control, then reread and use the new revision. The visible order determines direction for the anchor’s existing spot: a later source moves before an earlier anchor; an earlier source moves after a later anchor. The owner must manually approve the exact direction and two sheet names; --autoapprove cannot approve. Ordinary owner Workbook Edit and MoveSheet permissions apply. The saved result follows confirmed save, and native Workbook Undo restores the previous order. Hidden sheet names and the full index are not exposed, while the native mapping preserves their order. Private and guest writes are excluded. A same-sheet request returns {ok:true,sheetId,anchorSheetId,changed:false,saved:false} without a card or write.
Use request_spreadsheet_editor_sheet_reorder with the fresh same-connection editorId and expectedRevision, the active source sheetId, and the visible anchorSheetId. For example, after reading the page and choosing the anchor ID:
Hide the active worksheet in the open Workbook
Read fresh active-sheet metadata immediately before requesting the hide. Both actions must run in the same CLI action list so the request uses the current editor ID, revision and active sheet ID. The owner must click Apply in the named worksheet confirmation;--autoapprove cannot approve. Private and guest writes are excluded.
last_visible_sheet. A confirmed save returns {ok:true,sheetId,activeSheetId,saved:true} and native Workbook Undo restores visibility. Worksheet Hide is separate from hiding a tree node or Hide from Joe; Private storage is encrypted.
Unhide a worksheet in the open Workbook
Hidden sheet identities are available only through an opt-in page. Use the exactid from state.hiddenSheetTabs.items; continue pages with nextOffset. Only ordinary Hidden sheets are listed, never visible or native Very Hidden sheets. This metadata-only read returns no cell contents and keeps the same live-read permission and content-isolation checks. Request unhide on the same connection with the exact untruncated ID from that page. The existing native approval names the sheet and requires the owner to click Apply; CLI --autoapprove cannot approve. Workbook Edit and HideSheet permissions are required. After confirmed save, the revealed sheet is active and native Workbook Undo restores its hidden state. Private and guest writes are excluded.
Merge rows or columns in one selected Workbook range — request_spreadsheet_editor_merge_direction
Select one normal multi-cell range in an ordinary owner Workbook. Read the Workbook on the same connection, then pass its fresh editorId, state.document.revision as expectedRevision, active sheetId, exact range from state.selection.range, and direction set to vertical or horizontal. Vertical merge needs at least two rows and merges separately within each column. Horizontal merge needs at least two columns and merges separately within each row.
flowjoe-cli action request_spreadsheet_editor_merge_direction --file merge-direction.json --json. Or read and request in the same CLI run to bind the exact fresh selection:
merge-direction-run.json and run flowjoe-cli run merge-direction-run.json --json. Review the direction and exact range in the owner card and click Apply yourself; CLI --autoapprove cannot approve it. If any group has content outside its top-left cell, the native command shows its existing warning too. Declining either confirmation leaves the range unchanged. Each group keeps or moves its first nonempty value to its top-left cell, clearing the others as the chosen merge geometry is applied. Require Workbook Edit, Worksheet Edit, SetCellValue and SetCellStyle, plus Range Edit for the full rectangle; native exclusive-range, merge-conflict and protected-boundary checks apply. Workbook Undo restores cell values and selection. If the new directional groups cross one existing merged region, Undo restores that original merge once as it was, and Redo restores the chosen groups.
Changes and approval: Requires Propose and manual owner Apply on the existing card. If the native content warning applies, it requires your confirmation too. CLI --autoapprove cannot approve either step.
Result: {ok:true,sheetId,range,saved:true,direction} only after the exact merge and correlated save.
Set vertical or inside borders in the open Workbook
Select one current normal, unmerged rectangle and userequest_spreadsheet_editor_format with action:"set_vertical_borders" or action:"set_inside_borders", exact opaque color in #RRGGBB, and one of the 12 native borderStyle values listed above. Vertical borders require two or more columns and affect only interior column dividers. One row is valid. Inside borders require multiple cells and affect every interior divider. A one-row selection gets column dividers, a one-column selection gets row dividers, and a larger rectangle gets both. Outside edges remain unchanged.
The existing owner card names action, range, color and style and requires manual Apply. CLI --autoapprove cannot approve it. FlowJoe confirms the correlated save, and Workbook Undo restores the prior borders. Existing Workbook and owner Private rules apply.
Set diagonal borders in the open Workbook
For one current normal, unmerged cell or rectangle, userequest_spreadsheet_editor_format with action:"set_diagonal_down_borders", "set_double_diagonal_down_borders", "set_triple_diagonal_down_borders", "set_diagonal_up_borders", or "set_double_diagonal_up_borders". Supply one of the 12 native borderStyle values listed above and an exact opaque color in #RRGGBB. The existing owner card names the action, range, style and color and requires manual Apply. CLI --autoapprove cannot approve it. FlowJoe confirms the correlated save, and Workbook Undo restores the prior borders. Existing Workbook and owner Private rules apply.