Skip to main content

When to use this

  • You need to forward Claude-specific thinking or tool-choice controls
  • Your gateway should not expose raw Anthropic-specific fields directly

Example

cURL example

Python example

Node.js example

Best practices

  • Keep thinking- and beta-related settings server-side
  • Validate model support before forwarding provider-specific fields