diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 5de3c0c..3ab32be 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -591,6 +591,7 @@ components: - end_page_number type: object AnthropicCitationsConfig: + default: null example: enabled: true nullable: true @@ -892,7 +893,6 @@ components: - document type: string required: - - citations - source - title - type @@ -4593,6 +4593,20 @@ components: required: - type type: object + ChatServerToolChoice: + description: >- + OpenRouter extension: force a specific server tool by naming it directly in `tool_choice.type` instead of + wrapping it in `{ type: "function", function: { name } }`. + example: + type: openrouter:web_search + properties: + type: + description: OpenRouter server-tool type to force (e.g. `openrouter:web_search`, `web_search`, `web_search_preview`). + example: openrouter:web_search + type: string + required: + - type + type: object ChatStreamChoice: description: Streaming completion choice chunk example: @@ -4957,6 +4971,7 @@ components: - required type: string - $ref: '#/components/schemas/ChatNamedToolChoice' + - $ref: '#/components/schemas/ChatServerToolChoice' description: Tool choice configuration example: auto ChatToolMessage: