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.