You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4d4ff3e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+26-18Lines changed: 26 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -5783,24 +5783,7 @@ components:
5783
5783
type: integer
5784
5784
type: object
5785
5785
server_tool_use_details:
5786
-
description: Usage for server-side tool execution (e.g., web search)
5787
-
nullable: true
5788
-
properties:
5789
-
tool_calls_executed:
5790
-
description: Number of OpenRouter server tool calls that executed and produced a result
5791
-
nullable: true
5792
-
type: integer
5793
-
tool_calls_requested:
5794
-
description: >-
5795
-
Total number of OpenRouter server-orchestrated tool calls the model requested, across all tool types. Provider-native tools (e.g. native web search) are not counted here.
5796
-
nullable: true
5797
-
type: integer
5798
-
web_search_requests:
5799
-
description: >-
5800
-
Number of web searches performed by server-side tools. For server-orchestrated tool calls a web search is also counted in tool_calls_requested; provider-native web search may report web_search_requests only. Do not sum the two.
5801
-
nullable: true
5802
-
type: integer
5803
-
type: object
5786
+
$ref: '#/components/schemas/ServerToolUseDetails'
5804
5787
total_tokens:
5805
5788
description: Total number of tokens
5806
5789
type: integer
@@ -20568,6 +20551,29 @@ components:
20568
20551
example: medium
20569
20552
type: string
20570
20553
x-speakeasy-unknown-values: allow
20554
+
ServerToolUseDetails:
20555
+
description: Usage for server-side tool execution (e.g., web search)
20556
+
example:
20557
+
tool_calls_executed: 2
20558
+
tool_calls_requested: 2
20559
+
web_search_requests: 2
20560
+
nullable: true
20561
+
properties:
20562
+
tool_calls_executed:
20563
+
description: Number of OpenRouter server tool calls that executed and produced a result.
20564
+
nullable: true
20565
+
type: integer
20566
+
tool_calls_requested:
20567
+
description: >-
20568
+
Total number of OpenRouter server-orchestrated tool calls the model requested, across all tool types. Provider-native tools (e.g. native web search) are not counted here.
20569
+
nullable: true
20570
+
type: integer
20571
+
web_search_requests:
20572
+
description: >-
20573
+
Number of web searches performed by server-side tools. For server-orchestrated tool calls a web search is also counted in tool_calls_requested; provider-native web search may report web_search_requests only. Do not sum the two.
20574
+
nullable: true
20575
+
type: integer
20576
+
type: object
20571
20577
ServiceTier:
20572
20578
enum:
20573
20579
- auto
@@ -22847,6 +22853,8 @@ components:
22847
22853
is_byok:
22848
22854
description: Whether a request was made using a Bring Your Own Key configuration
22849
22855
type: boolean
22856
+
server_tool_use_details:
22857
+
$ref: '#/components/schemas/ServerToolUseDetails'
22850
22858
type: object
22851
22859
description: Token usage information for the response
|`server_tool_use_details`|[OptionalNullable[components.ServerToolUseDetails]](../components/servertoolusedetails.mdx)|:heavy_minus_sign:| Usage for server-side tool execution (e.g., web search) ||
19
+
|`server_tool_use_details`|[OptionalNullable[components.ServerToolUseDetails]](../components/servertoolusedetails.mdx)|:heavy_minus_sign:| Usage for server-side tool execution (e.g., web search) |\{<br/>"tool_calls_executed": 2,<br/>"tool_calls_requested": 2,<br/>"web_search_requests": 2<br/>}|
20
20
|`total_tokens`|*int*|:heavy_check_mark:| Total number of tokens ||
0 commit comments