본문으로 건너뛰기

ToolUpdate

Payload used to update Tool. Optional fields include name, alias, description, type, function, and 7 more.

name object
하나 이상(anyOf)
string
alias object
하나 이상(anyOf)
string
description object
하나 이상(anyOf)
string
type object
하나 이상(anyOf)
string

Possible values: [python, agent, workflow]

function object
하나 이상(anyOf)
sourceSource (string)필수
inputs object
property name*any
기본값: {}
outputs object
property name*any
기본값: {}
dependenciesstring[]
기본값: []
decorators object[]

Decorator bindings declared in configuration. Configured bindings take precedence over source bindings with the same kind and name; an empty list uses source bindings only.

  • Array [
  • decoratorDecorator (string)필수

    Decorator name, such as use_connector or use_llm. The name must identify a supported decorator.

    nameName (string)필수

    Binding variable name injected into the namespace

    arguments object

    Decorator arguments, e.g. {'ref':...} or {'model':...}

    property name*any

    Decorator arguments, e.g. {'ref':...} or {'model':...}

  • ]
  • ref object
    하나 이상(anyOf)
    string
    collection_id object
    하나 이상(anyOf)
    string

    Possible values: non-empty

    folder_id object
    하나 이상(anyOf)
    string
    tags object
    하나 이상(anyOf)
  • Array [
  • string
  • ]
  • require_browser object
    하나 이상(anyOf)
    boolean
    examples object
    하나 이상(anyOf)
  • Array [
  • description object
    하나 이상(anyOf)
    string
    arguments object필수
    property name*any
  • ]
  • options object
    하나 이상(anyOf)
    object
    ToolUpdate
    {
    "name": "string",
    "alias": "string",
    "description": "string",
    "type": "python",
    "function": {
    "source": "string",
    "inputs": {},
    "outputs": {},
    "dependencies": [
    "string"
    ],
    "decorators": [
    {
    "decorator": "string",
    "name": "string",
    "arguments": {}
    }
    ]
    },
    "ref": "string",
    "collection_id": "string",
    "folder_id": "string",
    "tags": [
    "string"
    ],
    "require_browser": true,
    "examples": [
    {
    "description": "string",
    "arguments": {}
    }
    ],
    "options": {}
    }