ToolUpdate
Payload used to update Tool. Optional fields include name, alias, description, type, function, and 7 more.
name object
하나 이상(anyOf)
- string
- null
string
alias object
하나 이상(anyOf)
- string
- null
string
description object
하나 이상(anyOf)
- string
- null
string
type object
하나 이상(anyOf)
- string
- null
string
Possible values: [python, agent, workflow]
function object
하나 이상(anyOf)
- PythonFunctionSchema
- null
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
- null
string
collection_id object
하나 이상(anyOf)
- string
- null
string
Possible values: non-empty
folder_id object
하나 이상(anyOf)
- string
- null
string
tags object
하나 이상(anyOf)
- string[]
- null
Array [
string
]
require_browser object
하나 이상(anyOf)
- boolean
- null
boolean
examples object
하나 이상(anyOf)
- object[]
- null
Array [
description object
하나 이상(anyOf)
- string
- null
string
arguments object필수
property name*any
]
options object
하나 이상(anyOf)
- object
- null
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": {}
}