An agent must answer from a set of uploaded policy PDFs. Which Responses API tool fits?
- Exam domain
- Agents with the OCI Responses API
- Difficulty
- Easy
- In this mock
- 6 questions on this domainPractise this domain
Why B is the answer
File Search over a vector store
Oracle describes File Search as letting the model retrieve content from files stored in a vector store, so responses reflect your documents.
Remember: Documents mean File Search.
In detail
- File Search reads your files.
- Files live in a vector store.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. MCP Calling, which always needs a separate server for every PDF that is uploadedWrong
MCP Calling reaches remote tools; it is not needed for uploaded files.
B. File Search over a vector storeRight
Documents mean File Search.
C. Function Calling with no backendWrong
A function with no backend returns nothing.
D. Code InterpreterWrong
Code Interpreter runs Python; it is not document retrieval.
Use case
An illustrative scenario, not a real incident.
Illustrative: an HR agent answers leave questions from policy PDFs in a vector store.
See it in different ways
mindmap
root(("Responses API tools"))
n1["File Search"]
n2["Vector store retrieval"]
n3["Code Interpreter"]
n4["Python in an isolated container"]
n5["Function Calling"]
n6["Your application runs it"]
n7["MCP Calling"]
n8["Remote MCP server tools"]How to read this chart
- The centre is "Responses API tools".
- "File Search" covers "Vector store retrieval".
- "Code Interpreter" covers "Python in an isolated container".
- "Function Calling" covers "Your application runs it".
- "MCP Calling" covers "Remote MCP server tools".
sequenceDiagram participant P0 as User participant P1 as Responses API participant P2 as Vector store P0->>P1: question P1->>P2: search files P2-->>P1: matching passages P1-->>P0: grounded answer
How to read this chart
- 1. User sends "question" to Responses API.
- 2. Responses API sends "search files" to Vector store.
- 3. Responses API gets a reply from Vector store: "matching passages".
- 4. User gets a reply from Responses API: "grounded answer".