diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 0fc92f2b..519ed6a9 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -12933,17 +12933,7 @@ components: output_tokens_details: $ref: '#/components/schemas/AnthropicOutputTokensDetails' server_tool_use: - properties: - web_fetch_requests: - type: 'integer' - web_search_requests: - type: 'integer' - required: - - 'web_search_requests' - - 'web_fetch_requests' - type: - - 'object' - - 'null' + $ref: '#/components/schemas/ORAnthropicServerToolUsage' required: - 'input_tokens' - 'output_tokens' @@ -13763,6 +13753,8 @@ components: items: $ref: '#/components/schemas/AnthropicUsageIteration' type: 'array' + server_tool_use: + $ref: '#/components/schemas/ORAnthropicServerToolUsage' service_tier: type: - 'string' @@ -18318,6 +18310,27 @@ components: - $ref: '#/components/schemas/AnthropicCodeExecution20250825Caller' - $ref: '#/components/schemas/AnthropicCodeExecution20260120Caller' - type: 'null' + ORAnthropicServerToolUsage: + example: + tool_calls_executed: 1 + tool_calls_requested: 1 + web_fetch_requests: 0 + web_search_requests: 0 + properties: + tool_calls_executed: + type: 'integer' + tool_calls_requested: + type: 'integer' + web_fetch_requests: + type: 'integer' + web_search_requests: + type: 'integer' + required: + - 'web_search_requests' + - 'web_fetch_requests' + type: + - 'object' + - 'null' ORAnthropicServerToolUseBlock: example: caller: