curl --request POST \
--url http://{api_endpoint}/api/v1/v1/tools \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"permission": "read_only",
"input_schema": {
"type": "object",
"properties": {},
"required": [
"<any>"
]
},
"output_schema": {},
"binding": {
"openapi": {
"http_method": "GET",
"http_path": "<string>",
"security": [],
"servers": [],
"connection_id": "<string>",
"callback": {
"callback_url": "<string>",
"method": "GET",
"input_schema": {
"type": "object",
"properties": {},
"required": [
"<any>"
]
},
"output_schema": {}
},
"acknowledgement": {
"output_schema": {}
}
},
"python": {
"function": "<string>",
"requirements": [
"<string>"
],
"connections": {}
},
"wxflows": {
"endpoint": "<string>",
"flow_name": "<string>",
"security": []
},
"skill": {
"skillset_id": "<string>",
"skill_id": "<string>",
"skill_operation_path": "<string>",
"http_method": "GET"
},
"client_side": {},
"conversational_search": {
"conversational_search_config": {},
"connections": [
"<any>"
],
"version": "0.0.1"
},
"mcp": {
"server_url": "<string>",
"source": "public-registry",
"env": {},
"command": "<string>",
"args": [
"<string>"
],
"transport": "<string>",
"connections": {}
},
"flow": {
"http_method": "GET",
"http_path": "<string>",
"security": [],
"servers": [],
"connection_id": "<string>",
"callback": {
"callback_url": "<string>",
"method": "GET",
"input_schema": {
"type": "object",
"properties": {},
"required": [
"<any>"
]
},
"output_schema": {}
},
"acknowledgement": {
"output_schema": {}
},
"flow_id": "",
"version": "TIP",
"dependencies": {
"tools": [],
"agents": []
},
"model": {}
},
"langflow": {
"langflow_id": "<string>",
"project_id": "<string>",
"langflow_version": "<string>",
"connections": {}
}
},
"tags": [
"<any>"
],
"is_async": false
}'