R: Minimal LLM Chat Interface

# Minimal LLM Chat Interface

## Documentation for package ‘llm.api’ version 0.1.4

- DESCRIPTION file.
- Package NEWS.

## Help Pages

agent | Chat with tool use (agentic mode)
chat | Chat with an LLM
chat_claude | Chat with Anthropic Claude
chat_ollama | Chat with Ollama
chat_openai | Chat with OpenAI
chat_session | Create a stateful chat session
chat_session_anthropic | Create Anthropic chat session
chat_session_ollama | Create Ollama chat session
chat_session_openai | Create OpenAI chat session
create_agent | Create an agent with MCP servers
history_count_tool_calls | Count tool calls in a history list.
history_tool_calls | Walk a history list and return paired tool-call / tool-result records.
list_ollama_models | List Ollama models
llm_base | Set LLM API Base URL
llm_key | Set LLM API Key
mcp_call | Call a tool on an MCP server
mcp_close | Close an MCP connection
mcp_connect | Connect to an MCP server
mcp_start | Start and connect to an MCP server
mcp_tools | List tools from an MCP connection
mcp_tools_for_api | Format MCP tools for LLM APIs
mcp_tools_for_claude | Format MCP tools for Claude API
prices_snapshot_date | Bundled price-snapshot date
prices_snapshot_stale | Is the bundled price snapshot stale?
print.mcp_connection | Print an MCP Connection
provider_default_model | Default model for a provider
usage_cost | Estimate the USD cost of one call's token usage