ask-all
Send one question to GPT, Gemini, Grok, and OpenRouter models in parallel to collect independent second opinions.
Instructions
Fan out one question to GPT, Gemini, Grok, and any configured OpenRouter models in parallel for independent second opinions, then return all results (advisory, no cross-contamination). Pass expert to apply a persona to every delegate. Calls external LLM providers (each needs its key/CLI; provider rate limits apply); returns a text-wrapped JSON envelope { results[], omitted[] } and persists a session record only when sessions.persist is enabled (default off).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory the provider runs in (used to resolve relative file refs). Defaults to the server process directory. | |
| files | No | Optional attachments for providers that read files (Grok/OpenRouter; inlined as context for Codex/Gemini). Each item is EXACTLY ONE of path/dir/file_id/file_url. | |
| expert | No | Optional persona: architect, plan-reviewer, scope-analyst, code-reviewer, security-analyst, researcher, or debugger. On a named expert tool the tool's own persona wins and this is ignored. | |
| prompt | Yes | The question or task for the provider(s)/expert. | |
| reasoningEffort | No | Reasoning depth where the provider supports it (Grok, OpenRouter): low, medium, high, or none. CLI providers (Codex, Gemini) ignore it. | |
| developerInstructions | No | Optional system/developer instructions injected verbatim; overrides the built-in persona for `expert`. |