Execute a verified multi-tool AI workflow
agent-runOrchestrates live Roblox tools with a discover→act→verify workflow, enabling AI agents to run multi-step tasks with step references, mutation approval, and verification.
Instructions
ORCHESTRATES LIVE TOOLS. Execute an explicit discover→act→verify workflow with step IDs, result references, dry-run planning, mutation approval, retries, and automatic contract-based verification. Use agent-context and tool-plan first when the goal is vague, then pass concrete steps. Each later input can reference earlier data with $steps.stepId.data.field or $result.stepId.data.field. By default mutations are blocked and only read-only steps run; set allowMutations=true only when the user authorized state changes. Mutating steps are never retried unless retryMutations=true. If steps is omitted, this returns a schema-aware plan instead of guessing required arguments. This is the main closed-loop execution surface for AI agents. Signature: { goal: string, steps: {{ id: string, tool: string, input: any?, verifyWith: string?, verifyInput: {[string]: any}?, retries: any? }}?, dryRun: any?, allowMutations: any?, retryMutations: any?, verify: any?, stopOnError: any?, maxSteps: any? }. Phase: orchestrate; cost=medium; idempotency=contextual-write. Requires: explicit-mutation-approval. Produces: operation-receipt, step results, verification results, next actions. Verify with: assert-state. Safety: MUTATING; executes caller-selected behavior in the live client, may execute multiple tools; mutations require allowMutations=true. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Human-readable goal used for planning, summaries, and audit output. | |
| steps | No | Explicit ordered steps. Omit to receive a plan only. | |
| dryRun | No | Validate and return the workflow without executing anything. | |
| verify | No | Run each step's contract verifier when available. | |
| maxSteps | No | Hard execution cap for this run. | |
| stopOnError | No | Stop after the first failed or blocked step. | |
| allowMutations | No | Permit tools marked mutatesState=true to execute. | |
| retryMutations | No | Permit retries for mutating steps; disabled by default to avoid duplicate side effects. |