feat: adding tool annotation used by MCP

This commit is contained in:
Lance Galletti 2025-06-23 10:56:08 -04:00
parent 929ac618ce
commit 4b1330a84b
9 changed files with 160 additions and 0 deletions

View file

@ -3912,6 +3912,16 @@ components:
type: object
additionalProperties:
$ref: '#/components/schemas/ToolParamDefinition'
annotations:
type: object
additionalProperties:
oneOf:
- type: 'null'
- type: boolean
- type: number
- type: string
- type: array
- type: object
additionalProperties: false
required:
- tool_name
@ -4610,6 +4620,16 @@ components:
- type: string
- type: array
- type: object
annotations:
type: object
additionalProperties:
oneOf:
- type: 'null'
- type: boolean
- type: number
- type: string
- type: array
- type: object
additionalProperties: false
required:
- name
@ -5855,6 +5875,16 @@ components:
type: string
description:
type: string
annotations:
type: object
additionalProperties:
oneOf:
- type: 'null'
- type: boolean
- type: number
- type: string
- type: array
- type: object
additionalProperties: false
required:
- input_schema
@ -7615,6 +7645,16 @@ components:
- type: string
- type: array
- type: object
annotations:
type: object
additionalProperties:
oneOf:
- type: 'null'
- type: boolean
- type: number
- type: string
- type: array
- type: object
additionalProperties: false
required:
- identifier