Skip to content

maestro_generate

Generate a persistent Maestro YAML flow file from structured steps. Writes to .rn-agent/actions/<name>.yaml in the project root. Use after live verification to create reusable actions.

NameTypeRequiredDefaultConstraintsDescription
namestringYesFlow name (e.g. “add-to-cart”, “profile-edit”). Becomes filename.
stepsobject[]NoOrdered list of Maestro steps
appIdstringNoApp bundle ID to include in YAML header
outputDirstringNoOutput directory (default: <project>/.rn-agent/actions/). Pass an explicit path for non-default targets.
maestro_generate(name: <string>)