AgentToolConfig
Tool configuration for an agent node.
nameName (string)required
descriptionDescription (string)
Default value:
typeType (string)
Possible values: [python, agent, workflow]
Default value:
pythonfunction object
anyOf
- PythonFunctionSchema
- null
sourceSource (string)required
inputs object
property name*any
Default value:
{}outputs object
property name*any
Default value:
{}dependenciesstring[]
Default value:
[]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)required
Decorator name, such as use_connector or use_llm. The name must identify a supported decorator.
nameName (string)required
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':...}
]
require_browserRequire Browser (boolean)
Default value:
falseoptions object
anyOf
- object
- null
object
AgentToolConfig
{
"name": "string",
"description": "",
"type": "python",
"function": {
"source": "string",
"inputs": {},
"outputs": {},
"dependencies": [
"string"
],
"decorators": [
{
"decorator": "string",
"name": "string",
"arguments": {}
}
]
},
"require_browser": false,
"options": {}
}