Skip to main content
Agentic tools are available in the interactive CLI chat (ragrails chat with no query). The stateless rag.chat() SDK method does not call tools.
When the answer isn’t in your vector index, the interactive assistant can call tools to go get it or act on the user’s behalf.
ToolWhat it does
web_fetchFetches a web page as readable text, for live lookups beyond your indexed content
api_callMakes a live HTTP request to perform an action the user asks for (trigger a transfer, fetch account details, create a resource)

Using them

ragrails chat
Inside the REPL:
> /tools                       # list available tools
> Look up the latest pricing on example.com and compare it to our docs.
  → assistant calls web_fetch, then answers
api_call makes real requests with the values you provide. The REPL asks for confirmation before every tool call.
The assistant only reaches for tools when the indexed content isn’t enough. Normal questions are answered from your knowledge base as usual. Reference: CLI chat.