Skip to main content

Interface: ProviderCapabilities

Defined in: packages/core/src/providers/catalog.ts:65

What differs between providers beyond configuration. Every member is optional: absent means the provider does not have it, so a new entry starts with the portable behaviour.

Properties​

cacheControl?​

readonly optional cacheControl?: boolean

Defined in: packages/core/src/providers/catalog.ts:79

Per-step cacheControl stamps the system instructions with a cache breakpoint.


codeExecution?​

readonly optional codeExecution?: () => Promise<{ prepareStep: unknown; tool: unknown; }>

Defined in: packages/core/src/providers/catalog.ts:83

The provider's code-execution tool, and the step hook that keeps its container.

Returns​

Promise<{ prepareStep: unknown; tool: unknown; }>


nativeToolSearch?​

readonly optional nativeToolSearch?: (modelId) => boolean

Defined in: packages/core/src/providers/catalog.ts:81

Which models run the provider's own server-side search over deferred tools.

Parameters​

modelId​

string

Returns​

boolean


normalizeToolSchema?​

readonly optional normalizeToolSchema?: (schema) => JsonSchema

Defined in: packages/core/src/providers/catalog.ts:71

Rewrites a tool's JSON Schema into the dialect this provider's tool API accepts.

Parameters​

schema​

JsonSchema

Returns​

JsonSchema


parallelToolCallsNamespace?​

readonly optional parallelToolCallsNamespace?: string

Defined in: packages/core/src/providers/catalog.ts:69

The providerOptions namespace whose parallelToolCalls flag this provider reads.


reasoning?​

readonly optional reasoning?: ReasoningTranslator

Defined in: packages/core/src/providers/catalog.ts:67

Writes ModelConfig.reasoning into this provider's providerOptions.


searchResultBlocks?​

readonly optional searchResultBlocks?: boolean

Defined in: packages/core/src/providers/catalog.ts:73

Tool results may carry search_result blocks, which the model cites.


toolInputExamples?​

readonly optional toolInputExamples?: boolean

Defined in: packages/core/src/providers/catalog.ts:77

Tool definitions take inputExamples natively (elsewhere AI SDK folds them into the description).


toolReferences?​

readonly optional toolReferences?: boolean

Defined in: packages/core/src/providers/catalog.ts:75

Tool results may carry tool references, which load deferred tools.