curl --request GET \
--url https://api.example.com/api/v1/tools{
"401": {},
"403": {},
"500": {},
"id": "<string>",
"name": "<string>",
"description": "<string>",
"color": "<string>",
"iconSrc": "<string>",
"schema": "<string>",
"func": "<string>",
"createdDate": {},
"updatedDate": {},
"workspaceId": "<string>"
}curl --request GET \
--url https://api.example.com/api/v1/tools{
"401": {},
"403": {},
"500": {},
"id": "<string>",
"name": "<string>",
"description": "<string>",
"color": "<string>",
"iconSrc": "<string>",
"schema": "<string>",
"func": "<string>",
"createdDate": {},
"updatedDate": {},
"workspaceId": "<string>"
}curl -X GET \
'https://your-flowise-instance.com/api/v1/tools' \
-H 'Authorization: Bearer YOUR_API_KEY'
curl -X GET \
'https://your-flowise-instance.com/api/v1/tools?page=1&limit=20' \
-H 'Authorization: Bearer YOUR_API_KEY'
[
{
"id": "tool-123",
"name": "Weather Lookup",
"description": "Get current weather for a location",
"color": "#3B82F6",
"iconSrc": "/icons/weather.svg",
"schema": "{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\"}},\"required\":[\"location\"]}",
"func": "async function({ location }) { ... }",
"createdDate": "2024-01-15T10:30:00Z",
"updatedDate": "2024-01-15T10:30:00Z",
"workspaceId": "workspace-123"
},
{
"id": "tool-456",
"name": "Database Query",
"description": "Query the customer database",
"color": "#10B981",
"iconSrc": "/icons/database.svg",
"schema": "{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"string\"}},\"required\":[\"query\"]}",
"func": "async function({ query }) { ... }",
"createdDate": "2024-01-16T14:20:00Z",
"updatedDate": "2024-01-18T09:15:00Z",
"workspaceId": "workspace-123"
}
]
schema field uses JSON Schema format to define input parameters:
{
"type": "object",
"properties": {
"paramName": {
"type": "string",
"description": "Parameter description"
}
},
"required": ["paramName"]
}
func field contains JavaScript code:
async function({ param1, param2 }) {
// Your tool logic here
return result;
}