run_agent_goal
Execute a high-level lighting production goal by decomposing it into a safety-validated plan, running verified steps, and returning a structured trace.
Instructions
Execute a high-level production goal using the agent runtime.
The agent runtime decomposes the goal into a sequenced plan, validates
it against safety policies, executes steps with verification, and
produces a structured execution trace.
SAFETY: Destructive steps require confirmation. Set auto_confirm=True
to skip confirmation prompts (use with caution).
Args:
goal: Natural language goal, e.g. "Patch 8 Mac 700 fixtures
starting at address 1.001 and assign to executor 1"
auto_confirm: If True, auto-confirm all destructive steps.
If False (default), destructive steps remain blocked unless
the runtime can obtain an explicit confirmation callback.
dry_run: If True, generate and validate the plan but do NOT
execute it. Returns the plan and policy warnings.
Returns:
str: JSON execution trace with goal, plan, steps, result,
and timing information.
Examples:
- "List all groups" → discovery workflow
- "Patch 4 Mac 700 fixtures at 1.001" → patch workflow
- "Create a color preset for group 1" → preset workflow
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"goal": "<goal>"
},
"name": "run_agent_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| dry_run | No | ||
| auto_confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |