Tool
id object
anyOf
- string
- null
string
nameName (string)required
alias object
anyOf
- string
- null
string
categoryCategory (string)
Default value:
agent.tooltypeType (string)required
Possible values: [python, agent, workflow]
collection_id object
anyOf
- string
- null
string
tags object
anyOf
- string[]
- null
Array [
string
]
descriptionDescription (string)required
created_at object
anyOf
- integer
- null
integer
updated_at object
anyOf
- integer
- null
integer
function object
anyOf
- PythonFunctionSchema
- null
sourceSource (string)required
inputs object
property name*any
Default value:
{}outputs object
property name*any
Default value:
{}dependenciesstring[]
Default value:
[]builtinBuiltin (boolean)
Default value:
falseoptions object
anyOf
- object
- null
object
Tool
{
"id": "string",
"name": "string",
"alias": "string",
"category": "agent.tool",
"type": "python",
"collection_id": "string",
"tags": [
"string"
],
"description": "string",
"created_at": 0,
"updated_at": 0,
"function": {
"source": "string",
"inputs": {},
"outputs": {},
"dependencies": [
"string"
]
},
"builtin": false,
"options": {}
}