Skip to content

Commit 23ee599

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#291)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 2203de9 commit 23ee599

1 file changed

Lines changed: 78 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7346,6 +7346,57 @@ components:
73467346
When omitted, defaults to the first model in the Quality preset.
73477347
example: ~anthropic/claude-opus-latest
73487348
type: string
7349+
tools:
7350+
description: >-
7351+
Server tools available to panelist and judge inner calls. Each entry uses the same `{ type, parameters? }`
7352+
shorthand as the outer Chat Completions request. When omitted, defaults to `[{ type: "openrouter:web_search"
7353+
}, { type: "openrouter:web_fetch" }]`. Pass an empty array to disable tools entirely (panelists answer from
7354+
parametric knowledge only).
7355+
example:
7356+
- parameters:
7357+
excluded_domains:
7358+
- example.com
7359+
type: openrouter:web_search
7360+
- type: openrouter:web_fetch
7361+
items:
7362+
properties:
7363+
parameters:
7364+
additionalProperties:
7365+
anyOf:
7366+
- type: string
7367+
- format: double
7368+
type: number
7369+
- type: boolean
7370+
- nullable: true
7371+
- items:
7372+
anyOf:
7373+
- type: string
7374+
- format: double
7375+
type: number
7376+
- type: boolean
7377+
- nullable: true
7378+
- nullable: true
7379+
type: array
7380+
- additionalProperties:
7381+
anyOf:
7382+
- type: string
7383+
- format: double
7384+
type: number
7385+
- type: boolean
7386+
- nullable: true
7387+
- nullable: true
7388+
type: object
7389+
- nullable: true
7390+
description: Optional configuration forwarded as the tool's `parameters` object.
7391+
type: object
7392+
type:
7393+
description: Server tool type identifier (e.g. "openrouter:web_search", "openrouter:web_fetch").
7394+
type: string
7395+
required:
7396+
- type
7397+
type: object
7398+
maxItems: 8
7399+
type: array
73497400
required:
73507401
- id
73517402
type: object
@@ -7442,6 +7493,33 @@ components:
74427493
example: 0.7
74437494
format: double
74447495
type: number
7496+
tools:
7497+
description: >-
7498+
Server tools available to panelist and judge inner calls. Each entry uses the same `{ type, parameters? }`
7499+
shorthand as the outer Chat Completions request. When omitted, defaults to `[{ type: "openrouter:web_search"
7500+
}, { type: "openrouter:web_fetch" }]`. Pass an empty array to disable tools entirely (panelists answer from
7501+
parametric knowledge only).
7502+
example:
7503+
- parameters:
7504+
excluded_domains:
7505+
- example.com
7506+
type: openrouter:web_search
7507+
- type: openrouter:web_fetch
7508+
items:
7509+
properties:
7510+
parameters:
7511+
additionalProperties:
7512+
nullable: true
7513+
description: Optional configuration forwarded as the tool's `parameters` object.
7514+
type: object
7515+
type:
7516+
description: Server tool type identifier (e.g. "openrouter:web_search", "openrouter:web_fetch").
7517+
type: string
7518+
required:
7519+
- type
7520+
type: object
7521+
maxItems: 8
7522+
type: array
74457523
type: object
74467524
GenerationContentData:
74477525
description: Stored prompt and completion content

0 commit comments

Comments
 (0)