call_agent
Get immediate answers from a specialist agent for debugging, UI design, or documentation tasks. Synchronous call returns the response before you continue.
Instructions
Synchronous single agent call (BLOCKING, 30-120s).
⚠️ STOP: Choose the Right Tool First
Decision Tree:
Need to run explore/researcher? → Use
call_agent_async(NEVER this tool)Need multiple agents in parallel? → Use
call_agent_async× N, NOTcall_agents_batchNeed advisor advice or must verify result immediately? → Use this tool
Why async for search agents?
explore/researcher may take 30-120s each
Blocking wastes your time waiting
Async lets you continue working while agents search
Available Agents
advisor: Read-only consultation agent. High-IQ reasoning specialist for debugging hard problems and high-difficulty architecture design.
researcher: Specialized codebase understanding agent for multi-repository analysis, searching remote codebases, retrieving official documentation, and finding implementation examples.
explore: Contextual grep for codebases. Answers "Where is X?", "Which file has Y?", "Find the code that does Z".
frontend-ui-ux-engineer: A designer-turned-developer who crafts stunning UI/UX even without design mockups. Code may be a bit messy, but the visual output is always fire.
document-writer: A technical writer who crafts clear, comprehensive documentation. Specializes in README files, API docs, architecture docs, and user guides.
Agent → Tool Mapping
Agent | Tool | Reason |
advisor |
| Need result immediately |
researcher |
| Search task, run in background |
explore |
| Search task, run in background |
frontend-ui-ux-engineer |
| Need result immediately |
document-writer |
| Need result immediately |
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Working directory for the agent (required) | |
| agent | Yes | The agent to use: advisor | researcher | explore | frontend-ui-ux-engineer | document-writer | |
| images | No | Base64 encoded images (only for multimodal-looker) | |
| prompt | Yes | The prompt/task for the agent | |
| context | No | Additional context |