Tool Calling

Tool calling is a four-step process: (1) available tools are declared in the context; (2) the model itself decides which tool to call and with what parameters; (3) the framework executes the tool and adds the result to the context; (4) the model decides what to do next. The model is responsible for decision-making, the framework for execution. This turns an LLM from a text generator into a system capable of action.

Related: [ReAct Cycle], [Parameter Passing Fidelity]