Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17795,9 +17795,17 @@ components:
type: 'string'
id:
type: 'string'
instance_name:
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.'
example: 'openrouter_subagent__1'
type: 'string'
model:
description: 'Slug of the worker model that executed the task.'
type: 'string'
name:
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.'
example: 'summarizer'
type: 'string'
outcome:
description: 'The worker model''s result (the outcome text returned to the delegating model).'
type: 'string'
Expand Down Expand Up @@ -21732,9 +21740,10 @@ components:
- 'type'
type: 'object'
SubagentServerToolConfig:
description: 'Configuration for the openrouter:subagent server tool.'
description: 'Configuration for one openrouter:subagent server tool entry.'
example:
model: '~anthropic/claude-haiku-latest'
name: 'summarizer'
properties:
instructions:
description: 'System instructions for the subagent. When omitted, the subagent responds with no system prompt of its own.'
Expand All @@ -21754,6 +21763,13 @@ components:
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.'
example: '~anthropic/claude-haiku-latest'
type: 'string'
name:
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.'
example: 'summarizer'
maxLength: 64
minLength: 1
pattern: '^[a-zA-Z0-9 _-]+$'
type: 'string'
reasoning:
$ref: '#/components/schemas/SubagentReasoning'
temperature:
Expand Down
Loading