Skip to content

agent-core / Exports / IOpenAPIToolConfig

Interface: IOpenAPIToolConfig

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/agent-core/src/interfaces/tool.ts:159


operationId

operationId: string

Operation ID from the OpenAPI spec

Defined in

packages/agent-core/src/interfaces/tool.ts:177


baseURL

baseURL: string

Base URL for API calls

Defined in

packages/agent-core/src/interfaces/tool.ts:179


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/agent-core/src/interfaces/tool.ts:181

Released under the MIT License.