Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tool Usage

Let models invoke your tools to retrieve data or perform actions.

Patterns:

  • Stateless RPC-like tools
  • Stateful tools with access to context
  • Safety: validate inputs, timeouts, retries