Skip to content

Commit 2ae79b7

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#774)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent d00f0cc commit 2ae79b7

1 file changed

Lines changed: 24 additions & 11 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12933,17 +12933,7 @@ components:
1293312933
output_tokens_details:
1293412934
$ref: '#/components/schemas/AnthropicOutputTokensDetails'
1293512935
server_tool_use:
12936-
properties:
12937-
web_fetch_requests:
12938-
type: 'integer'
12939-
web_search_requests:
12940-
type: 'integer'
12941-
required:
12942-
- 'web_search_requests'
12943-
- 'web_fetch_requests'
12944-
type:
12945-
- 'object'
12946-
- 'null'
12936+
$ref: '#/components/schemas/ORAnthropicServerToolUsage'
1294712937
required:
1294812938
- 'input_tokens'
1294912939
- 'output_tokens'
@@ -13763,6 +13753,8 @@ components:
1376313753
items:
1376413754
$ref: '#/components/schemas/AnthropicUsageIteration'
1376513755
type: 'array'
13756+
server_tool_use:
13757+
$ref: '#/components/schemas/ORAnthropicServerToolUsage'
1376613758
service_tier:
1376713759
type:
1376813760
- 'string'
@@ -18318,6 +18310,27 @@ components:
1831818310
- $ref: '#/components/schemas/AnthropicCodeExecution20250825Caller'
1831918311
- $ref: '#/components/schemas/AnthropicCodeExecution20260120Caller'
1832018312
- type: 'null'
18313+
ORAnthropicServerToolUsage:
18314+
example:
18315+
tool_calls_executed: 1
18316+
tool_calls_requested: 1
18317+
web_fetch_requests: 0
18318+
web_search_requests: 0
18319+
properties:
18320+
tool_calls_executed:
18321+
type: 'integer'
18322+
tool_calls_requested:
18323+
type: 'integer'
18324+
web_fetch_requests:
18325+
type: 'integer'
18326+
web_search_requests:
18327+
type: 'integer'
18328+
required:
18329+
- 'web_search_requests'
18330+
- 'web_fetch_requests'
18331+
type:
18332+
- 'object'
18333+
- 'null'
1832118334
ORAnthropicServerToolUseBlock:
1832218335
example:
1832318336
caller:

0 commit comments

Comments
 (0)