Skip to content

agents / Exports / OpenAPIToolConfig

Interface: OpenAPIToolConfig

OpenAPI specification configuration

Table of contents

Properties

Properties

spec

spec: Object

OpenAPI 3.0 specification

Type declaration

NameType
openapistring
info{ title: string ; version: string ; description?: string }
info.titlestring
info.versionstring
info.description?string
servers?{ url: string ; description?: string }[]
pathsRecord<string, Record<string, string | number | boolean | Record<string, string | number | boolean>>>
components?Record<string, Record<string, string | number | boolean>>

Defined in

packages/agents/src/interfaces/tool.ts:125


operationId

operationId: string

Operation ID from the OpenAPI spec

Defined in

packages/agents/src/interfaces/tool.ts:140


baseURL

baseURL: string

Base URL for API calls

Defined in

packages/agents/src/interfaces/tool.ts:142


auth

Optional auth: Object

Authentication configuration

Type declaration

NameType
type"bearer" | "apiKey" | "basic"
token?string
apiKey?string
header?string
username?string
password?string

Defined in

packages/agents/src/interfaces/tool.ts:144

Released under the MIT License.