Skip to slide
043 / 221

CH 03 · Tool Design · 16/18

Read as one page

Tools and the provider abstraction

If you support multiple model providers (Chapter 4), define your tools once in a single canonical schema format and convert to each provider's dialect at the boundary. Then adding a tool is purely additive: one schema, one executor branch, and it works across every model. Don't let provider-specific tool formats leak into your tool definitions.

Finished this idea?

Your learning progress stays in this browser.