DEFINITION
Tool Calling
Tool Calling / Function Calling
Definition
The ability of an LLM to invoke external functions, APIs, or tools as part of its reasoning process. In agent contexts, tool calling is critical for agents to interact with their environment, execute actions, and gather information beyond their training data.
Examples in the Wild
- Example 1:An agent calling a weather API to check conditions before planning
- Example 2:An agent invoking a calculator tool to solve math problems
- Example 3:An agent using a database query tool to retrieve information
- Example 4:An agent calling a file system tool to read/write documents
- Example 5:Agents in Emergence World using tools to build structures, enforce laws, or start fires