source: "saved", then propose editRepoFileText with its oid as expectedOid; the change saves the file in FlowJoe without writing your working folder, committing or pushing.
Install and connect using Start using the CLI. These examples work on the
currently open Flow; they do not open or switch Flows. Replace YOUR_NODE_ID with an ID from show.
For an action with inputs, save the JSON block as input.json, then run its command.
Find a node
show lists node names and IDs. Search returns visible matches and their node IDs; it searches
node and gallery notes. To look inside document files, use the document search below.
Read a node’s notes and information
Save asinput.json:
nodes list. Its summary is the node’s notes; other fields can
include status, tags, theme, Freeze state and gallery details. rootId selects the branch, and
maxDepth bounds the returned depth. The branch may include children; identify the node by ID
rather than assuming a particular array position. Missing or marked text can mean it is hidden
from Joe. --autoapprove does not reveal it.
The result is inside the CLI envelope’s result.content: a text block contains the app’s JSON.
For example, the inner snapshot data has this general shape (fields depend on your Flow):
Read the Flow’s notes or a whole branch
treeName and, when present and permitted, flowSummary for the
open Flow. Nodes carry their own summary fields. For a branch, use the previous JSON input with
its rootId and omit maxDepth if you need deeper descendants. Large snapshots are bounded
(default 2,000 nodes); check truncated, narrow the branch, or raise nodeCap deliberately.
Find a passage in a document
Save this asinput.json to search a branch. Use "scope":"flow" to search the whole Flow.
read_item_content for more context. The result indicates whether document search coverage was partial.
Trace a symbol in committed code
After the owner enables Joe code indexing in a supported desktop build, save this asinput.json. Use the repository node’s ID.
read_repo_file or use the ordinary repository reads while the index is updating.
Read gallery notes or a document
A gallery snapshot gives permitted titles, notes and metadata; it does not contain the complete underlying files. Gallery metadata can be shortened. To read a document’s actual text, save:slotIndex: 0 means the first gallery item. Add itemIndex: 1 only if it is a stack and you want
its second member. Use get_island_content instead for a spreadsheet, rich document or calendar;
use read_media_content for image content, or read_media_blob for media as a data URL.
These reads do not automatically ask an AI to summarize the content.
Write node notes
Save aschanges.json:
flowjoe-cli apply changes.json --autoapprove --json. Node notes use setNodeSummary; gallery-item
notes use setSlotFields with fields.notes. Neither rewrites the text stored inside a document.
Create a branch and fill its notes in one request
A same-patch alias lets later changes refer to a node being created. Save aschanges.json:
run list’s $result reference, which reads an earlier action’s response.
Add a file or generate an image
For a file you want to choose in the app, use request_file. For script-provided text or supported images, follow the complete upload → prepare → place example. Uploads are temporary and must be consumed in that samerun list.
For image generation, save as steps.json. With GPT Image 2.6 selected in the app, add "format":"gif" or "format":"svg" to the generation input for those outputs. The format applies only to this request; SVG is a new image without references or edit continuation. See the complete image-generation inputs.
--autoapprove to skip placement approval. That flag does not skip service setup, make
generation free, or change the processing deadline. Five minutes is a longer wait, not a guarantee
that the provider will finish. A generated result is staged until the placement step succeeds.
Inspect changes or undo within a script
Save assteps.json:
undo_last_change
cannot undo an earlier CLI command. Neither session history nor undo is a general Flow backup.
Use stable reference IDs in repeatable scripts
For verbs that support them, preferslotEntryId and other ID alternatives from the live catalog
over saved positions. This avoids accidentally targeting a different reference after a reorder.
For example, setSlotFields accepts:
flowjoe-cli action describe_patch_protocol --json. An entry ID does not bypass permissions or
make a deleted reference exist. Not all read actions or editing verbs accept the same ID fields.
Check the outcome
--json retains the full result for a script, and the command’s exit code indicates success or
failure. A list stops at its first failed step; earlier completed changes stay applied. One apply
patch is atomic, but a whole run list is not. A timeout or interrupted command can leave an edit
applied or an approval card pending. Check FlowJoe before retrying; see
approvals and troubleshooting.
Browse the complete action reference and the editing references for
nodes, gallery and stacks, and
Flow details, memories and automations.