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
116 changes: 116 additions & 0 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12149,6 +12149,31 @@ components:
- 'tool_use_id'
- 'content'
type: 'object'
MessagesBashToolResultBlock:
description: 'Output of a sandbox-executed `openrouter:bash` call from a prior assistant turn. Accepted on replay and dropped before the provider request — Anthropic has no equivalent block.'
example:
content:
command: 'ls'
exitCode: 0
stderr: ''
stdout: "README.md\n"
tool_use_id: 'srvtoolu_01abc'
type: 'openrouter_bash_tool_result'
properties:
content:
additionalProperties: {}
type: 'object'
tool_use_id:
type: 'string'
type:
enum:
- 'openrouter_bash_tool_result'
type: 'string'
required:
- 'type'
- 'tool_use_id'
- 'content'
type: 'object'
MessagesContentBlockDeltaEvent:
description: 'Event sent when content is added to a content block'
example:
Expand Down Expand Up @@ -12282,6 +12307,8 @@ components:
- $ref: '#/components/schemas/AnthropicContainerUpload'
- $ref: '#/components/schemas/AnthropicCompactionBlock'
- $ref: '#/components/schemas/AnthropicAdvisorToolResult'
- $ref: '#/components/schemas/ORAnthropicShellToolResult'
- $ref: '#/components/schemas/ORAnthropicBashToolResult'
- properties:
content:
type:
Expand Down Expand Up @@ -12657,6 +12684,8 @@ components:
- $ref: '#/components/schemas/MessagesAdvisorToolResultBlock'
- $ref: '#/components/schemas/MessagesToolAdditionBlock'
- $ref: '#/components/schemas/MessagesToolRemovalBlock'
- $ref: '#/components/schemas/MessagesShellToolResultBlock'
- $ref: '#/components/schemas/MessagesBashToolResultBlock'
type: 'array'
role:
enum:
Expand Down Expand Up @@ -13183,6 +13212,7 @@ components:
type: 'object'
- $ref: '#/components/schemas/AnthropicToolSearchToolBm25'
- $ref: '#/components/schemas/AnthropicToolSearchToolRegex'
- $ref: '#/components/schemas/ShellServerTool_OpenRouter'
type: 'array'
top_k:
type: 'integer'
Expand Down Expand Up @@ -13299,6 +13329,33 @@ components:
required:
- 'type'
type: 'object'
MessagesShellToolResultBlock:
description: 'Output of an `openrouter:shell` call from a prior assistant turn. Accepted on replay and dropped before the provider request — Anthropic has no equivalent block.'
example:
content:
output:
- outcome:
exit_code: 0
type: 'exit'
stderr: ''
stdout: "README.md\n"
tool_use_id: 'srvtoolu_01abc'
type: 'openrouter_shell_tool_result'
properties:
content:
additionalProperties: {}
type: 'object'
tool_use_id:
type: 'string'
type:
enum:
- 'openrouter_shell_tool_result'
type: 'string'
required:
- 'type'
- 'tool_use_id'
- 'content'
type: 'object'
MessagesStartEvent:
description: 'Event sent at the start of a streaming message'
example:
Expand Down Expand Up @@ -17171,6 +17228,31 @@ components:
required:
- 'type'
type: 'object'
ORAnthropicBashToolResult:
description: 'Output of an `openrouter:bash` call executed in the OpenRouter sandbox (`engine: ''openrouter''`)'
example:
content:
command: 'ls'
exitCode: 0
stderr: ''
stdout: "README.md\n"
tool_use_id: 'srvtoolu_01abc'
type: 'openrouter_bash_tool_result'
properties:
content:
additionalProperties: {}
type: 'object'
tool_use_id:
type: 'string'
type:
enum:
- 'openrouter_bash_tool_result'
type: 'string'
required:
- 'type'
- 'tool_use_id'
- 'content'
type: 'object'
ORAnthropicContentBlock:
discriminator:
mapping:
Expand All @@ -17179,6 +17261,8 @@ components:
code_execution_tool_result: '#/components/schemas/AnthropicCodeExecutionToolResult'
compaction: '#/components/schemas/AnthropicCompactionBlock'
container_upload: '#/components/schemas/AnthropicContainerUpload'
openrouter_bash_tool_result: '#/components/schemas/ORAnthropicBashToolResult'
openrouter_shell_tool_result: '#/components/schemas/ORAnthropicShellToolResult'
redacted_thinking: '#/components/schemas/AnthropicRedactedThinkingBlock'
server_tool_use: '#/components/schemas/ORAnthropicServerToolUseBlock'
text: '#/components/schemas/AnthropicTextBlock'
Expand Down Expand Up @@ -17208,6 +17292,8 @@ components:
- $ref: '#/components/schemas/AnthropicContainerUpload'
- $ref: '#/components/schemas/AnthropicCompactionBlock'
- $ref: '#/components/schemas/AnthropicAdvisorToolResult'
- $ref: '#/components/schemas/ORAnthropicShellToolResult'
- $ref: '#/components/schemas/ORAnthropicBashToolResult'
ORAnthropicNullableCaller:
discriminator:
mapping:
Expand Down Expand Up @@ -17247,6 +17333,33 @@ components:
- 'id'
- 'name'
type: 'object'
ORAnthropicShellToolResult:
description: 'Output of an `openrouter:shell` call executed in the OpenRouter sandbox'
example:
content:
output:
- outcome:
exit_code: 0
type: 'exit'
stderr: ''
stdout: "README.md\n"
tool_use_id: 'srvtoolu_01abc'
type: 'openrouter_shell_tool_result'
properties:
content:
additionalProperties: {}
type: 'object'
tool_use_id:
type: 'string'
type:
enum:
- 'openrouter_shell_tool_result'
type: 'string'
required:
- 'type'
- 'tool_use_id'
- 'content'
type: 'object'
ORAnthropicStopReason:
enum:
- 'end_turn'
Expand Down Expand Up @@ -25617,6 +25730,9 @@ paths:
description: 'Dimension to filter on. Use the /meta endpoint for available dimensions.'
example: 'model'
type: 'string'
include_unset:
description: 'Include rows where the dimension has no value. Applies only to the `in` and `not_in` operators and dimensions that have an unset bucket.'
type: 'boolean'
operator:
description: 'Filter operator'
example: 'eq'
Expand Down
Loading