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
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+46-3Lines changed: 46 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17157,6 +17157,20 @@ components:
17157
17157
type: 'string'
17158
17158
status:
17159
17159
$ref: '#/components/schemas/ToolCallStatus'
17160
+
subagent_id:
17161
+
description: 'EXPERIMENTAL — subject to change without notice. String id that matches the `call_id` of the `openrouter:subagent` server tool call that spawned the subagent. Present on every `function_call` item the subagent projects; absent on ordinary function calls.'
17162
+
type: 'string'
17163
+
subagent_items:
17164
+
description: 'EXPERIMENTAL — subject to change without notice. The subagent''s output items produced on this turn. Treat this as an opaque object; you must replay it in the request so that the subagent can continue execution of the tool with the same context. If a subagent created multiple parallel tool calls, only the first tool call will have this field. The other tool calls will only have `subagent_id`. Present only if the tool call originates from a subagent spawned by the `openrouter:subagent` server tool.'
description: 'EXPERIMENTAL — subject to change without notice. String id that matches the `call_id` of the `openrouter:subagent` server tool call that spawned the subagent. Present on every `function_call` item the subagent projects; absent on ordinary function calls.'
18570
+
type: 'string'
18571
+
subagent_items:
18572
+
description: 'EXPERIMENTAL — subject to change without notice. The subagent''s output items produced on this turn. Treat this as an opaque object; you must replay it in the request so that the subagent can continue execution of the tool with the same context. If a subagent created multiple parallel tool calls, only the first tool call will have this field. The other tool calls will only have `subagent_id`. Present only if the tool call originates from a subagent spawned by the `openrouter:subagent` server tool.'
18573
+
items:
18574
+
additionalProperties: {}
18575
+
properties:
18576
+
type:
18577
+
type: 'string'
18578
+
required:
18579
+
- 'type'
18580
+
type: 'object'
18581
+
type: 'array'
18554
18582
type: 'object'
18555
18583
example:
18556
18584
arguments: '{"location":"San Francisco"}'
@@ -19502,6 +19530,9 @@ components:
19502
19530
status: 'completed'
19503
19531
type: 'openrouter:subagent'
19504
19532
properties:
19533
+
call_id:
19534
+
description: 'EXPERIMENTAL — subject to change without notice. The `call_id` of the tool call that spawned this subagent. This id will also be included as the `subagent_id` on any `function_call` items created by the subagent. This must be returned in the request so the `function_call` can be matched with the correct subagent. A suspended `in_progress` item is announced once and never re-emitted or terminally closed — completion arrives as a new item with the same `call_id`.'
19535
+
type: 'string'
19505
19536
error:
19506
19537
description: 'Error message when the subagent task did not produce an outcome.'
19507
19538
type: 'string'
@@ -23780,7 +23811,7 @@ components:
23780
23811
type: 'string'
23781
23812
x-speakeasy-unknown-values: allow
23782
23813
max_tokens:
23783
-
description: 'Maximum number of reasoning tokens the subagent may use. Accepted and validated but not yet forwarded to the subagent call.'
23814
+
description: 'Maximum number of reasoning tokens the subagent may use. Forwarded to the subagent call as `reasoning.max_tokens`.'
23784
23815
type: 'integer'
23785
23816
type: 'object'
23786
23817
SubagentServerTool_OpenRouter:
@@ -23805,6 +23836,18 @@ components:
23805
23836
model: '~anthropic/claude-haiku-latest'
23806
23837
name: 'summarizer'
23807
23838
properties:
23839
+
inherit_functions:
23840
+
description: 'EXPERIMENTAL — subject to change without notice. When true, the subagent inherits every client function defined in the request''s top-level `tools` list. Supported on the Responses API (`/api/v1/responses`) only; other APIs reject it with a `400`.'
23841
+
example: true
23842
+
type: 'boolean'
23843
+
inherited_function_names:
23844
+
description: 'EXPERIMENTAL — subject to change without notice. Names of the top-level function tools that the subagent will inherit. Any tool that matches by name will be copied fully into the tools array of the subagent. When `inherit_functions` is `true`, this list does nothing, because every client function will be inherited by default. Names are trimmed before validation, so a whitespace-only name is rejected with a `400`. Supported on the Responses API (`/api/v1/responses`) only; other APIs reject it with a `400`.'
23845
+
example:
23846
+
- 'lookup_order'
23847
+
items:
23848
+
minLength: 1
23849
+
type: 'string'
23850
+
type: 'array'
23808
23851
instructions:
23809
23852
description: 'System instructions for the subagent. When omitted, the subagent responds with no system prompt of its own.'
23810
23853
example: 'You are a fast, focused worker. Complete the task exactly as described.'
@@ -23814,7 +23857,7 @@ components:
23814
23857
example: 2048
23815
23858
type: 'integer'
23816
23859
max_tool_calls:
23817
-
description: 'Maximum number of tool-calling steps the subagent may take during its agentic loop. Capped at 25. Only relevant when the subagent is given tools. Accepted and validated but not yet enforced on the subagent call.'
23860
+
description: 'Maximum number of tool-calling steps the subagent may take during its agentic loop. Capped at 25. Only relevant when the subagent is given tools. Forwarded to the subagent call as `max_tool_calls`.'
0 commit comments