Skip to content

Tool Contracts

A tool contract describes more than parameters: it communicates intent, authority, outputs, side effects, and failure modes.

Design prompts

  • Can a model distinguish this tool from neighboring tools?
  • Are inputs constrained and outputs machine-checkable?
  • Are retries safe, and are side effects explicit?