Skip to main content
Server-side tools run entirely on the provider’s infrastructure. They stream progress events, produce final deliverables, and keep your application logic focused on orchestration instead of implementation.

Provider Support

Enabling Tools

Each provider uses its own options class and tool enum:

OpenAI Responses

xAI Responses

Google

Anthropic

Pick the tools you want per request. Providers default to their own safe configuration if you omit the set.

Streaming Metadata

Each tool streams structured metadata under a predictable key: Metadata is delivered on every ChatResult during streaming, which you can use to show live progress, log it, or feed it into analytics.

Message Content

Final deliverables (images, generated files, synthesized summaries) arrive as normal message parts so you can handle them with the usual ChatMessage APIs.

Configuration Blocks

Each tool exposes an optional configuration object. Configuration objects are provider-specific:

OpenAI Responses Tools

Google Tools

Anthropic Tools

Examples