ask_gpt
Delegate tasks to OpenAI expert models with custom instructions, model selection, and adjustable reasoning effort for code, architecture, or review work.
Instructions
Ask an OpenAI model as an expert subagent. ONE tool for everything: you choose the model, write the instructions (its system prompt), and optionally set reasoning_effort. There is no separate 'worker' vs 'architect' tool — the difference is the orchestration PATTERN you apply plus your model/effort choice: a fast model (e.g. gpt-5.6-terra, or gpt-5.6-luna for high-volume) with the worker-orchestrator pattern for concrete code work (patches, debugging, tests, repo inspection); a strong model (gpt-5.6-sol) + reasoning_effort 'high' or above with the two-layer-cross-model-expert pattern for hard reasoning, architecture, security/threat modeling, and review. Call list_patterns / get_pattern first for non-trivial work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The OpenAI model id (required): gpt-5.6-sol (frontier — deepest reasoning, architecture, hard review), gpt-5.6-terra (balanced general-purpose/coding), gpt-5.6-luna (fast/cheap, high-volume). The bare 'gpt-5.6' alias routes to sol. Any valid OpenAI model id is accepted (older gpt-5.5 etc. still work). | |
| prompt | Yes | The task or question for the model. | |
| context | No | Code snippets, error messages, stack traces, constraints, or other relevant context. | |
| instructions | Yes | System instructions for the model (required): its role and how to respond. Write these for the task at hand — e.g. a coding-subagent prompt for worker-style work, or a reviewer/architect prompt for analysis. | |
| reasoning_effort | No | Reasoning effort (higher = deeper but slower). gpt-5.6 supports the full scale none→max; gpt-5.5 tops out at xhigh, older models at high. Use 'high' or above for deep audits / architecture review; reserve 'max' for the hardest quality-first work. |