maestro_execute
Execute a MAESTRO design decision to generate HTML, CSS, and JS with adjustable quality from draft to enterprise, optionally using a multi-agent Trifecta pipeline.
Instructions
Execute the design decision from the MAESTRO session.
This generates the actual design output (HTML, CSS, JS) based on the mode and parameters determined during the interview.
You must have a decided session (either from completing the interview or calling maestro_get_decision) before calling this tool.
Args: session_id: Active session ID with a decision ready use_trifecta: Use multi-agent Trifecta pipeline for higher quality. When True, uses Architect → Alchemist → Physicist → QualityGuard agents for superior output. (default: False) quality_target: Quality level for output. Options: - "draft": Quick output (threshold: 6.0, 1 iteration) - "production": Standard quality (threshold: 7.0, 2 iterations) - "high": High quality with Critic (threshold: 8.0, 3 iterations) - "premium": Premium quality (threshold: 8.5, 4 iterations) - "enterprise": Enterprise-grade (threshold: 9.0, 5 iterations) (default: "production")
Returns: Dict containing: - html: Generated HTML output - mode: Design mode that was executed - trifecta_enabled: Whether Trifecta pipeline was used - quality_target: Quality level used - css_output: Separate CSS (only if trifecta=True) - js_output: Separate JS (only if trifecta=True) - design_notes: Explanation of design decisions - status: "complete" | "failed"
Example: # Execute with Trifecta for high quality result = await maestro_execute( session_id="maestro_abc123", use_trifecta=True, quality_target="premium" ) if result["status"] == "complete": html = result["html"]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| use_trifecta | No | ||
| quality_target | No | production |