apollo-code / provider-kit/src / ProviderCapabilities
Interface: ProviderCapabilities
Properties
cache
cache:
"none"|"ephemeral"|"persistent"
files
files:
false| {formats:string[];maxSizeMB:number; }
interleavedThinking
interleavedThinking:
boolean
jsonMode
jsonMode:
boolean
maxContextTokens
maxContextTokens:
number
maxOutputTokens
maxOutputTokens:
number
streaming
streaming:
boolean
streamingReasoning
streamingReasoning:
boolean
streamResume?
optionalstreamResume?:false| {idempotency:"provider-guaranteed";mode:"opaque-cursor"; }
Omitted and false both mean that a stream must be restarted from the request boundary.
structuredOutput
structuredOutput:
boolean
systemPromptLocation
systemPromptLocation:
"system-field"|"first-user-message"
thinking
thinking:
false| {budgetTokens:boolean; }
toolChoiceRequired
toolChoiceRequired:
boolean
toolResultSchema
toolResultSchema:
"anthropic"|"openai"|"gemini"|"json-string"
toolUse
toolUse:
"none"|"sequential"|"parallel"
vision
vision:
false| {formats:string[];maxSizeMB:number; }