← Table of Contents · Page 153 of 868

THE TOOL REGISTRY

Part 10 of 10

CHECK YOUR UNDERSTANDING • What two jobs does a registry do? ◦ Answer: it tells the model what tools exist, and it helps the harness run the chosen tool safely. • What is dispatch? ◦ Answer: routing a request to the correct handler after checks. • Why do typed handlers help? ◦ Answer: a single fix to the shared base improves every tool built on it. • Why is loading all 200 tool definitions every turn a problem? ◦ Answer: it wastes limited context space and can confuse the model's tool choice. • What good practices accompany deprecation? ◦ Answer: warnings, a named replacement, an end date, and logs identifying remaining users.
Advertisement
Read Aloud:
0:00 / 0:00