Function Chaining
Domain: Tools & Function Calling
π― Motivation
The output of one function call becomes the input to the next. The model chains tools together for complex workflows.
π Concrete Example
Step 1: get_stock_price(AAPL) -> 185 (+2.8%)β. Chain of functions.
π Analogy
An assembly line - each station takes the previous stationβs output and adds something. Station 1 makes the frame, Station 2 adds wheels, Station 3 paints. Function chaining is an assembly line for tool calls.