Tool chaining lets an agent pass the result of one tool invocation into a later invocation, enabling multi-step tasks instead of independent actions. section 9.2.2 section 9.2.3
A typical implementation retrieves a value from a database, returns it to the agent’s context, and exposes it as a parameter for the next tool. Tool descriptions can suggest ordering, but they do not guarantee execution order. section 9.2.3
Linking rooms to bookings
After creating three rooms, the agent calls a tool that retrieves the most recent roomid. It then supplies that roomid to a booking tool, which inserts three bookings linked to the selected room. section 9.2.3


