Retained chat attachment memory and current gallery content are separate evidence sources. Use the memory read action for saved conversation evidence; it does not recover original gallery bytes. A repository-backed gallery file can be inspected with read_repo_file. The one repository change is editRepoFileText: one exact text change to one existing file, held for your review unless you started the session with --autoapprove. No gallery verb gives terminal access, commits or pushes. Every example below is a separate change. Save its JSON as changes.json, replace all YOUR_… placeholders with IDs from your current Flow, and run:
The first command checks without applying. The second follows FlowJoe’s approval rules. Add --autoapprove to the second command to skip all approval cards, including deletions, for that command. Permissions, privacy, frozen content and validation still apply. All verbs on these pages change data; none is a read command. A successful patch reports applied and operation results; a failed operation rolls back that patch. See results and exit codes. A gallery position (slotIndex, index, sourceIndex, fromIndex, toIndex) starts at 0: 0 means first, 1 means second. An itemIndex selects a member inside a stack, also from 0. Only use examples whose targets exist and have the required content type. Examples with two or three positions need at least that many items. Read fresh data after an edit that changes positions. The required inputs below come from the editing catalog measured on 2026-10-20: 62 verb names for 61 distinct changes, because setNodeReadOnly is an older name for setNodeFrozen (discover the running build’s catalog for updates). Where an alternative stable entry ID is listed, supply that instead of its positional field, not both. Read IDs with a gallery snapshot; not every verb supports the same ID alternative. removeEntryContexts uses nested positional references. The live catalog is authoritative for your installed desktop version:
Prepared-entry examples containing $result belong inside a run action list, after a step saved as prepared; they cannot be pasted unchanged into a standalone apply file. See the complete upload → prepare → place example. Replace that example’s final ops with the operation shown here. Never invent a stored-media key. Move one gallery position to another. Read current positions first; both indices start at zero. Required inputs: nodeId, fromIndex, toIndex. Stable IDs: fromEntryId can replace fromIndex; toEntryId can replace toIndex.
Result: The gallery order changes. Give every current gallery index exactly once, in the desired order. This two-item example requires exactly two gallery items. Required inputs: nodeId, order. Stable IDs: orderEntryIds can replace order.
Result: The gallery takes the supplied order. Sort by title or number, in asc or desc order. Numbers are parsed from titles; items without numbers go last. Required inputs: nodeId.
Result: The node’s gallery is sorted. Delete the listed gallery positions. Deleting a stack removes its contents too. This is a deletion. Required inputs: nodeId, indices. Stable IDs: slotEntryIds can replace indices.
Result: The selected gallery items are removed. Despite its older name, this adds supported prepared references, not only images. Prepare entries with stage_media or generate_image in the same run list. Optional index chooses insertion position; omitted means append. The result reference in this example requires the prepared step in the scripting guide. Required inputs: nodeId, entries.
Result: The prepared references appear as new gallery items. Replace one item using a prepared entry from an earlier step in the same run list. This overwrites the current reference; it is not a title or notes edit. Required inputs: nodeId, index, entry. Stable IDs: slotEntryId can replace index.
Result: The gallery position contains the prepared replacement.

Move a reference to another node — moveImageSlotToNode

Move the complete gallery item, including a stack if the selected item is a stack. Required inputs: sourceNodeId, sourceIndex, targetNodeId. Stable IDs: sourceEntryId can replace sourceIndex.
Result: The reference leaves the source and appears in the destination.

Move several references to another node — moveImageSlots

Move the selected gallery items together; each index refers to the source gallery before this operation. Required inputs: sourceNodeId, indices, targetNodeId. Stable IDs: slotEntryIds can replace indices.
Result: The references move to the destination gallery. For precise deletion across nodes, give contextRefs with nodeId and slotIndex; add entryIndex for a stack member. This nested field is entryIndex, not itemIndex. Linked original/derived relationships are handled by the app’s deletion rules. This is a deletion. Required inputs: contextRefs.
Result: The specified occurrences are removed. Identify the original entry. Add entryIndex to identify an original inside a stack. Its derived copies are detached from that original; content is retained. Every affected node must be editable. Required inputs: nodeId, slotIndex. Stable IDs: slotEntryId can replace slotIndex; itemEntryId can replace entryIndex.
Result: Derived copies become independent; the result includes a detached count.

Write a reference’s title or notes — setSlotFields

fields accepts title, notes and audioTitle (audio only). To edit a stack member, add options with itemIndex, for example options: {itemIndex: 0}. An empty notes string clears notes. This edits reference notes, not the file’s stored text. Required inputs: nodeId, slotIndex, fields. Stable IDs: slotEntryId can replace slotIndex.
Result: The chosen reference fields change.

Replace a reference’s tags — setSlotTags

Replace tags on a gallery item or stack container. Tags do not belong to individual stack members. An empty array clears them. Required inputs: nodeId, slotIndex, tagIds. Stable IDs: slotEntryId can replace slotIndex.
Result: The reference has the supplied tags.

Write one spreadsheet cell — setSpreadsheetCell

The target must be a spreadsheet. Choose cell such as B3, or row and column (both zero-based). Optional itemIndex targets a spreadsheet inside a stack. This changes one cell, not a whole workbook. Required inputs: nodeId, slotIndex, value. Stable IDs: slotEntryId can replace slotIndex; itemEntryId can replace itemIndex.
Result: The cell contains the supplied value.

Copy a reference — copyImageSlot

Copy a complete gallery item. Omit targetNodeId to copy within the source node; optional targetIndex chooses placement. The copy receives new entry IDs. Required inputs: sourceNodeId, sourceIndex. Stable IDs: sourceEntryId can replace sourceIndex.
Result: A copy appears; the original remains. Copying a virtual slot makes another virtual slot of the same master.

Show a slot in another node — addVirtualSlot

Add a virtual slot to a node: it shows an existing slot (its master) and stores no content of its own. masterEntryId is the master slot’s entry ID from anywhere in the Flow; naming a virtual slot points at its master. Optional slotIndex chooses the position (default: the end). Refused into a frozen or Private node, for a master that isn’t in the Flow or sits in a Private node, and for a master in a node hidden from Joe. Required inputs: nodeId, masterEntryId.
Result: A virtual slot appears in the node, showing the master. Changing the master changes it too.

Turn a virtual slot into its own slot — makeVirtualSlotReal

Make Real Slot: the virtual slot becomes a real copy of its master as it is now, with its own copy of every file, and keeps its place. Refused when the slot isn’t a virtual slot, its master is missing, Private or in a node hidden from Joe, or a file can’t be copied. Required inputs: nodeId, slotIndex. Stable IDs: slotEntryId can replace slotIndex.
Result: The slot no longer changes with the master.

Remove a master slot that has virtual slots — removeVirtualMaster

deleteSlots and deleteNode refuse a master that still has virtual slots elsewhere. Use this instead: when you approve it, FlowJoe shows the Remove Master Slot window in the app, and you choose whether one of its virtual slots becomes the new master or they are all removed. Any mode an assistant sends is ignored and the removal is held for your choice. A session started with --autoapprove applies its own mode (promote with promoteEntryId, or remove) without asking and opens nothing in the app; without a mode it is refused. It is held for review like other removals, and refused when one of its virtual slots is in a frozen node or a node hidden from Joe. Required inputs: nodeId, entryId.
Result: The master is gone and its virtual slots were handled as you chose.

Crop an image — cropImage

The target must be a supported stored image. Coordinates are fractions of the original image, from 0 to 1; the rectangle must fit inside it. Optional itemIndex targets a stack member. Required inputs: nodeId, slotIndex, x, y, width, height. Stable IDs: slotEntryId can replace slotIndex; itemEntryId can replace itemIndex.
Result: A crop is applied using the app’s image workflow.

Create a PDF from an image or note — convertToPdf

Convert a supported image or note-like item using the installed PDF service. Optional itemIndex targets a stack member. This is not a general converter for every file format. Required inputs: nodeId, slotIndex. Stable IDs: slotEntryId can replace slotIndex; itemEntryId can replace itemIndex.
Result: A new PDF reference is inserted beside the source; the source remains.

Change an audio cover — setAudioCover

This example clears the cover. To set one, use coverSrc from a prepared, stored image (an indexeddb: source), not an arbitrary web URL; optional itemIndex targets audio in a stack. Required inputs: nodeId, slotIndex, coverSrc. Stable IDs: slotEntryId can replace slotIndex; itemEntryId can replace itemIndex.
Result: The audio cover is cleared or replaced.

Change a reference’s color — setSlotColor

Set a gallery item’s color using one of the six swatch names: red, green, blue, violet, pink or cyan. Use clear or none to remove its color. Hex values such as #336699 are not accepted. Required inputs: nodeId, slotIndex, color. Stable IDs: slotEntryId can replace slotIndex.
Result: The reference color changes.

Edit a video clip — setVideoClip

Change how one video plays in the node’s video sequence. Only the parts you name in clip change, a part set to null goes back to its default, and everything you do not name, including the clip’s generation prompt, stays. What playback and the export use today: trim (in and out in seconds), transition (type, one of the 42 transitions such as cut, fade (a crossfade), fadeblack, wipeleft or circleopen, and duration), look (preset: original, warm, cool, vintage, cinematic, vibrant or mono; vignette, sharpen and opacity 0–100; blur 0–10; flip: none, across or upside-down; rotate: 0, 90, 180 or 270; fadeIn and fadeOut in seconds), sound (own on or off; volume 0–150; fadeIn and fadeOut in seconds; offset, when the sound starts, −10 to 10 seconds (later when positive, earlier when negative); even on or off, to even out loud and quiet parts; loudness on or off, to bring the clip to the same loudness as the other clips and tracks (about −14 LUFS); eq, five bands from bass to treble, each −12 to 12 dB; tracksVolume 0–100, which lowers the audio tracks while this clip plays; and fx with compressor, limiter, gate (noise gate), deesser, reverb, echo, chorus, pitch and width on or off, plus compressorStrength 0–100, gateThreshold −80 to −20 dB, deesserFrequency 2 to 12 kHz, reverbAmount 0–100, echoDelay 50–1000 ms, echoAmount 0–100, pitchSemitones −12 to 12 and widthAmount 0–200), locked and continuesFrom. Use the editor’s Speed controls to create a new take for speed or reverse changes; do not set a speed field with this action. A locked clip refuses other edits, but allows Put Back for a clip that has been left out; unlock it before making other changes. A virtual slot is refused with virtual_slot_content_write, which names the master slot to edit instead. A slot with no video is refused with not_video. Required inputs: nodeId, slotIndex, clip. Stable IDs: slotEntryId can replace slotIndex.
Result: The clip’s trim start is 2 seconds and its look is back to the default.

Place an item on the canvas — setSlotCanvasPlacement

Supply x, y or customWidth (at least one). Positions are canvas coordinates; customWidth is non-negative, with zero clearing the custom width. Required inputs: nodeId, slotIndex. Stable IDs: slotEntryId can replace slotIndex.
Result: The item’s saved canvas placement changes.

Connect two canvas items — connectSlots

Add a connection between two gallery items in the same node. Required inputs: nodeId, fromIndex, toIndex. Stable IDs: fromEntryId can replace fromIndex; toEntryId can replace toIndex.
Result: The canvas connection is added.

Remove a canvas connection — disconnectSlots

Remove the connection between two gallery items in the same node. Required inputs: nodeId, fromIndex, toIndex. Stable IDs: fromEntryId can replace fromIndex; toEntryId can replace toIndex.
Result: The connection is removed; both items remain.

Move an item within a stack — reorderStackItem

slotIndex identifies the stack; fromIndex and toIndex identify its members, starting at zero. Required inputs: nodeId, slotIndex, fromIndex, toIndex. Stable IDs: slotEntryId can replace slotIndex; fromItemEntryId can replace fromIndex; toItemEntryId can replace toIndex.
Result: The stack’s item order changes.

Choose the displayed stack item — setStackActiveItem

Choose which existing member the stack displays. Required inputs: nodeId, slotIndex, itemIndex. Stable IDs: slotEntryId can replace slotIndex; itemEntryId can replace itemIndex.
Result: The selected member becomes active.

Delete one stack item — removeStackItem

Delete a member, retaining the other members. Small stacks can collapse back to a plain gallery item. This is a deletion. Required inputs: nodeId, slotIndex, itemIndex. Stable IDs: slotEntryId can replace slotIndex; itemEntryId can replace itemIndex.
Result: The member is removed.

Keep only the active stack item — flattenStackSlot

Replace a stack with its currently active member and discard the others. This is a deletion of the other members; use extractAllStackItems to retain them instead. Required inputs: nodeId, slotIndex.
Result: One plain gallery item remains in place of the stack.

Add prepared entries to a stack — addEntriesToSlot

Append prepared entries, converting a plain item to a stack when needed. Use a prepared result from the same run list. Required inputs: nodeId, slotIndex, entries. Stable IDs: slotEntryId can replace slotIndex.
Result: The entries join the stack.

Insert prepared entries at a stack position — insertEntriesIntoStack

Insert prepared entries at options.itemIndex. Omit it to insert after the active item. options.makeActive defaults true. A plain item is converted to a stack first. Required inputs: nodeId, slotIndex, entries. Stable IDs: slotEntryId can replace slotIndex.
Result: The entries are inserted at the chosen position. Move a member out of its stack into a separate gallery position. Required inputs: nodeId, slotIndex, itemIndex. Stable IDs: slotEntryId can replace slotIndex; itemEntryId can replace itemIndex.
Result: The member becomes a standalone reference.

Unpack a stack without deleting its members — extractAllStackItems

Turn the stack’s members into separate gallery items. Required inputs: nodeId, slotIndex. Stable IDs: slotEntryId can replace slotIndex.
Result: The members appear separately in the gallery.

Move a stack member to another node — moveStackItemToNode

Move one member out of a source stack into another node’s gallery. Required inputs: sourceNodeId, slotIndex, itemIndex, targetNodeId. Stable IDs: slotEntryId can replace slotIndex; itemEntryId can replace itemIndex.
Result: The member leaves the stack and appears in the destination. Copy one member as a standalone gallery item. Omit targetNodeId for a copy within the source node; optional targetIndex chooses placement. Required inputs: sourceNodeId, slotIndex, itemIndex. Stable IDs: slotEntryId can replace slotIndex; itemEntryId can replace itemIndex.
Result: A copy appears; the original stack member remains. Merge the source gallery item into the target, converting the target to a stack when needed. Required inputs: nodeId, sourceIndex, targetIndex. Stable IDs: sourceEntryId can replace sourceIndex; targetEntryId can replace targetIndex.
Result: One combined stack replaces the separate items. Choose the target gallery position and the selected indices. Omit indices to consolidate every gallery item into the target. Required inputs: nodeId, targetIndex. Stable IDs: targetEntryId can replace targetIndex; slotEntryIds can replace indices.
Result: The selected items are combined in the target stack.

Change text in one repository file — editRepoFileText

Propose one exact text change to one existing repository file. It must be the only change in its request, so send it on its own. Scheduled tasks and guest sessions cannot use it. Required inputs: nodeId, entryId, source (saved or draft), expectedOid, oldText, newText. Optional: repoNodeId, and draftVersion when source is draft. Read the file first with read_repo_file using the same source, and copy its oid into expectedOid (and, for a draft, its draftVersion). Only that oid works: a revision or hash from another read never matches, and the refusal (changed_meanwhile) then names the read_repo_file inputs to read the file with. oldText must appear exactly once in the saved file, or in the open unsaved editor draft when source is draft. A draft edit needs that repository editor tab to be open in FlowJoe; a historical revision cannot be edited. Requires Propose access.
Result: Held for your review on the approval card, which shows the exact before/after, even when FlowJoe’s Auto-apply setting is on — unless you started this CLI command with --autoapprove, which approves its changes for you. Applying saves the file in FlowJoe only; it does not write your working folder and makes no commit or push. Undo (undo_last_change in the same run list) restores the previous version unless the file was saved again or the open editor tab has newer typing. --preview changes nothing and reports the same refusals the change would get: whether the request is valid, sent alone, and whether oldText appears exactly once in the current saved file or open draft. An ordinary proposal is checked the same way before any card appears, so a stale or non-matching edit is refused right away instead of waiting for review. The card’s own preview and Apply check again; if the file was saved or typed in after the card appeared, Approve stays unavailable or Apply writes nothing, and you reject the card and propose a fresh edit. Refusals: file_edit_must_be_alone, old_text_not_found, old_text_not_unique, draft_changed, changed_meanwhile, not_a_repository_file, editing_blocked (the file is Frozen, Private or read-only) and no_change. For a master removal in an explicit --autoapprove session, send mode: "remove" or mode: "promote" with promoteEntryId. If you omit the choice, virtual_slot_mode_required asks you to send it.

Add a blank calendar — createCalendar

Add a new blank calendar to an owner-local, non-Private node through the normal preview and approval flow. This must be the only operation in its patch. Optional title sets its name (up to 500 characters). Optional index is a nonnegative whole number that chooses its gallery position. An omitted index or one past the gallery length appends it. Required inputs: nodeId.
Result: Applying creates and places the blank calendar through FlowJoe’s normal gallery path. Close the calendar and leave its saved version unchanged before using Undo to remove it.

Add a blank spreadsheet — createSpreadsheet

Add a new blank spreadsheet to an owner-local, non-Private node through the normal preview and approval flow. This must be the only operation in its patch. Optional title sets its name (up to 500 characters). Optional index is a nonnegative whole number that chooses its gallery position. An omitted index or one past the gallery length appends it. Required inputs: nodeId.
Result: Applying creates and places the blank spreadsheet through FlowJoe’s normal gallery path. Close the workbook and leave its saved version unchanged before using Undo to remove it.

Edit a saved workbench item — editIslandSnapshot

Save and close the spreadsheet, rich-document or calendar workbench before editing its saved data. Read the relevant structure with get_island_content, then copy that response’s sourceKey into expectedKey. Each operation changes one exact JSON Pointer path relative to the whole snapshot. add inserts a property or array member, replace changes an existing value, remove deletes one, and test checks a value before later operations. Supply value for every operation except remove. Required inputs: nodeId, slotIndex or stable slotEntryId, expectedKey, operations. For example, after reading the calendar’s first event:
Run this as changes.json with the preview/apply commands at the top of this page. Review the named paths and before/after values. The event’s other fields stay intact. Applying saves a new version; the session’s normal Undo restores the previous one. Stable slotEntryId can replace slotIndex; stack items use itemIndex or itemEntryId, and itemPath selects deeper nested stack items. If the source changed, read it again and rebuild the proposal. If the workbench is open, save and close it, then retry. Keep each item’s related edits together in one operation list with its read source key. Result: The named operations are saved as a new snapshot version. The session’s normal Undo restores the previous version.

Set an audio slot’s speed or playback mode — setAudioPlayback

Set saved playback options for one audio slot or an audio-bearing stack. Read its current settings with a gallery snapshot first. For a stack, these options belong to the whole stack. Required inputs: nodeId, slotIndex or slotEntryId, and at least one of playbackRate or mode.
playbackRate accepts the numbers 0.5, 0.75, 1, 1.25, 1.5, 2, 2.5 or 3. Use null to remove the slot’s speed override and follow the global audio speed. mode is off, loop, shuffle or continuous; shuffle and continuous need at least two audio tracks in the stack. Use the slot’s ID, without an itemIndex. loop repeats the current track; shuffle picks another audio track; continuous advances through the audio tracks in order; off stops automatic replay or advancement. Only the settings you name change: changing mode keeps the saved speed, and clearing the speed keeps the mode. The normal preview, approval and Undo rules apply. Saving these options does not start playback or change the header player’s queue. Result: The selected saved playback settings are updated. Playback does not start and the header player’s queue stays unchanged.

Add a saved picture to a document — insertRichDocumentImage

Save and close the Rich Document Workbench first. Read the document with get_island_content using snapshotPath:"" and use its returned sourceKey as the destination expectedKey. Read the source picture’s current gallery address and use its saved indexeddb: key without the prefix as source.expectedKey. Keep both stable slotEntryId values and current slot positions. Required inputs: nodeId, slotIndex, slotEntryId, expectedKey, anchor, source, alt.
Send this as one image per proposal: the patch contains this single operation. Review and approve it, then reopen the document to see the picture at the end of its main body. For another picture, read the new document key and make a separate proposal. Undo restores the previous saved document while the editor is closed and the saved version is still unchanged. The original picture stays in its gallery slot. anchor is exactly {"kind":"body_end"}. alt is a string of up to 500 characters and may be empty. Both targets require nodeId, slotIndex, slotEntryId and the current bare expectedKey. For a nested stack item, also give itemEntryId and either itemIndex or itemPath; choose the exact saved item rather than an active-item shortcut. The source is a saved local raster picture up to 10 MB: PNG, JPEG, WebP, GIF, BMP, TIFF or AVIF. This operation uses owner-local non-Private content. It copies the picture into the document’s own saved media and keeps the original source. No file path, URL, inline image bytes or engine command is supplied in the patch. A changed source or document must be read again before a new proposal. Save and close an open editor before retrying. The normal current permissions and available-storage checks apply. CLI and MCP assistants use the same owner approval and Undo route as Joe. Result: The picture is copied into the document’s saved media after approval. Its original gallery slot remains in place.