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 5bc75cc
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17795,9 +17795,17 @@ components:
17795
17795
type: 'string'
17796
17796
id:
17797
17797
type: 'string'
17798
+
instance_name:
17799
+
description: 'Provider-safe function name of the specific subagent instance that produced this item (e.g. `openrouter_subagent__1`). Present only on items from non-default instances — the second and later subagent entries in the request `tools` array. The first (default) instance omits it, even when multiple subagents are configured. When a replayed item echoes this field back, the transcript rehydrates the call under that instance''s tool. This identity is positional: it is derived from the index of the subagent entry in the request `tools` array, so keep the order of subagent entries stable across requests in a conversation.'
17800
+
example: 'openrouter_subagent__1'
17801
+
type: 'string'
17798
17802
model:
17799
17803
description: 'Slug of the worker model that executed the task.'
17800
17804
type: 'string'
17805
+
name:
17806
+
description: 'Configured name of the subagent that executed the task (the `name` on its tool entry). Present only for named subagents; omitted for an unnamed (default) subagent.'
17807
+
example: 'summarizer'
17808
+
type: 'string'
17801
17809
outcome:
17802
17810
description: 'The worker model''s result (the outcome text returned to the delegating model).'
17803
17811
type: 'string'
@@ -21732,9 +21740,10 @@ components:
21732
21740
- 'type'
21733
21741
type: 'object'
21734
21742
SubagentServerToolConfig:
21735
-
description: 'Configuration for the openrouter:subagent server tool.'
21743
+
description: 'Configuration for one openrouter:subagent server tool entry.'
21736
21744
example:
21737
21745
model: '~anthropic/claude-haiku-latest'
21746
+
name: 'summarizer'
21738
21747
properties:
21739
21748
instructions:
21740
21749
description: 'System instructions for the subagent. When omitted, the subagent responds with no system prompt of its own.'
@@ -21754,6 +21763,13 @@ components:
21754
21763
description: 'Slug of the model that executes delegated tasks (any OpenRouter model). Typically a smaller, cheaper, faster model than the one delegating. When omitted, the model from the outer API request is used. The subagent tool itself cannot be the subagent model.'
21755
21764
example: '~anthropic/claude-haiku-latest'
21756
21765
type: 'string'
21766
+
name:
21767
+
description: 'Optional name for this subagent. The model sees one tool per named subagent (and one default for an unnamed entry). Names must be unique across subagent entries. Letters, digits, spaces, underscores, and dashes; trimmed; 1–64 chars.'
0 commit comments