> ## Documentation Index
> Fetch the complete documentation index at: https://phidatainc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Responses

> Ollama examples on the OpenAI-compatible /v1/responses endpoint: basic runs, structured output, and tool use.

| Example                                                                  | Description                                                           |
| ------------------------------------------------------------------------ | --------------------------------------------------------------------- |
| [Basic](/examples/models/ollama/responses/basic)                         | Use Ollama's OpenAI-compatible /v1/responses endpoint with an Agent.  |
| [Structured Output](/examples/models/ollama/responses/structured-output) | Structured output example using Ollama with the OpenAI Responses API. |
| [Tool Use](/examples/models/ollama/responses/tool-use)                   | This demonstrates using tools with Ollama's Responses API endpoint.   |
