Skip to main content

Minimal request

cURL example

Python example

Node.js example

Best practices

  • Keep function schemas explicit and strict
  • Do not assume there will be only one tool call
  • Persist the raw tool calls and tool results for replay and debugging