Skip to main content
Connect LLMs to external tools — databases, APIs, payment systems. The model decides when to call a function and with what arguments.

Basic function calling

Response

Returning tool results

After executing the function, pass the result back so the model can generate a final answer:

Tool choice options

Parallel tool calls

Enable the model to call multiple tools in a single response:
India-specific tools that work with function calling: UPI payment status, Aadhaar verification, IRCTC train lookup, GST calculation, PAN validation. These aren’t built into Forii — they’re external tools your agent calls.

Parameters