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 f5be2e0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21634,6 +21634,11 @@ components:
21634
21634
- 'top_p'
21635
21635
- 'max_tokens'
21636
21636
supports_implicit_caching: true
21637
+
supports_tool_choice:
21638
+
auto: true
21639
+
function: true
21640
+
none: true
21641
+
required: true
21637
21642
supports_voice_cloning: false
21638
21643
tag: 'openai'
21639
21644
throughput_last_30m:
@@ -21737,6 +21742,8 @@ components:
21737
21742
type: 'array'
21738
21743
supports_implicit_caching:
21739
21744
type: 'boolean'
21745
+
supports_tool_choice:
21746
+
$ref: '#/components/schemas/ToolChoiceSupport'
21740
21747
supports_voice_cloning:
21741
21748
default: false
21742
21749
description: 'Whether this TTS endpoint accepts inline reference audio (`input_references`) for stateless voice cloning. Requests carrying reference audio are only routed to endpoints where this is true.'
@@ -21776,6 +21783,7 @@ components:
21776
21783
- 'max_completion_tokens'
21777
21784
- 'max_prompt_tokens'
21778
21785
- 'supported_parameters'
21786
+
- 'supports_tool_choice'
21779
21787
- 'uptime_last_30m'
21780
21788
- 'uptime_last_5m'
21781
21789
- 'uptime_last_1d'
@@ -24578,6 +24586,32 @@ components:
24578
24586
- 'mode'
24579
24587
- 'tools'
24580
24588
type: 'object'
24589
+
ToolChoiceSupport:
24590
+
description: 'Per-variant `tool_choice` support. `tool_choice` in `supported_parameters` only says the parameter is accepted; these flags say which of its values passed testing.'
24591
+
example:
24592
+
auto: true
24593
+
function: true
24594
+
none: true
24595
+
required: true
24596
+
properties:
24597
+
auto:
24598
+
description: 'Whether the endpoint supports `"tool_choice": "auto"`.'
24599
+
type: 'boolean'
24600
+
function:
24601
+
description: 'Whether the endpoint supports naming a function, `"tool_choice": {"type": "function", ...}`.'
24602
+
type: 'boolean'
24603
+
none:
24604
+
description: 'Whether the endpoint supports `"tool_choice": "none"`.'
24605
+
type: 'boolean'
24606
+
required:
24607
+
description: 'Whether the endpoint supports `"tool_choice": "required"`.'
24608
+
type: 'boolean'
24609
+
required:
24610
+
- 'none'
24611
+
- 'auto'
24612
+
- 'required'
24613
+
- 'function'
24614
+
type: 'object'
24581
24615
ToolSearchServerTool:
24582
24616
description: 'OpenRouter built-in server tool: finds tools marked `defer_loading` and makes them callable'
0 commit comments