instructions are the rules that hold on every turn; input is the specific thing to do this turn. When retrieval tools are enabled, input is also what the model uses to decide whether and what to search. This page draws the line between the two and shows how to ground the run on retrieved evidence.
instructions vs input
| Field | What goes here |
|---|---|
instructions | Role, tone, output language, citation and formatting rules, and hard do/don’ts. Applied on every turn of the loop, independent of the question. |
input | The question or task for this turn. Guides tool selection, and when retrieval is enabled it is what the model searches on, so a more specific input produces more targeted retrieval. |
instructions. If it is about this request, it belongs in input.
With a
preset, instructions replaces the preset’s tuned system prompt instead of appending to it. Omit instructions to keep the preset prompt. See Define the run.Ground the run
Grounding keeps the agent answering from retrieved evidence rather than from the model’s own priors. Two levers do most of the work:- Specific
input. When retrieval tools are enabled, the model searches based oninput. “Q3 FY2026 data-center segment revenue” retrieves more targeted results than “how is NVIDIA doing.” Name entities, time ranges, and the unit of the answer. - Retrieval tools. Enable
web_searchand related tools so the agent pulls live evidence. See Give it tools.
Read the sources back
A grounded answer comes with its evidence. Retrieval tools attach their results to the responseoutput array (for example search_results items alongside the message), so you can surface citations or verify claims. See the per-tool reference pages — starting with Web Search — for exact response shapes.
Go deeper
This page is the working split. For prompt patterns, anti-patterns, and worked examples, see the full Prompt Guide.Next steps
Give it tools
Enable built-in and function tools, then read their results.
Prompt Guide
Full prompting patterns and best practices.