get_agent_context
Prepare agent-specific context for parallel implementation of a Figma design section, including responsibilities, assets, styles, and coordination instructions.
Instructions
Prepare agent context for parallel implementation of a section.
HOW IT WORKS:
Call after analyze_page_structure to identify sections
Returns complete context for a single agent to implement one section
Handles responsibilities: what to implement vs coordinate
Includes icons, styles, and transition element info
Generates agent-specific instructions with coordination rules
RETURNS:
section: Details (id, name, background color, bounds)
responsibilities: what agent implements, coordinates, or skips
assets: icons and images in this section
styles: colors, fonts, spacing specific to section
agent_info: index, total agents, is_first, is_last
instructions: detailed markdown instructions for this agent
TYPICAL WORKFLOW:
analyze_page_structure → identify sections
For each section: get_section_screenshot → visual reference
get_agent_context(sectionId, agentIndex) → agent-specific context
Each agent implements using provided context
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_key | Yes | Figma file key from URL | |
| page_name | Yes | Page name (partial match) | |
| frame_name | Yes | Frame name (partial match) | |
| section_id | Yes | Section ID from analyze_page_structure (e.g., 'section-0') | |
| agent_index | No | Zero-based agent index (default: 0) | |
| total_agents | No | Total number of agents working in parallel (default: 1) |