Create a tool
Documentation Index
Fetch the complete documentation index at: https://docs.superglue.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Static API key authentication using Bearer token scheme.
Include your API key in the Authorization header: Authorization: Bearer YOUR_API_KEY
Alternatively, you can use the token query parameter to authenticate.
API keys can be generated in your superglue dashboard.
Body
Request body for creating a new tool
Optional custom ID. If not provided, a UUID is generated. A unique suffix may be appended to avoid conflicts.
"my-custom-tool"
Human-readable name for the tool
"Web Search"
Ordered execution steps
Human-readable instruction describing what the tool does
"Search the web for the given query and return relevant results"
JSON Schema for tool inputs
JSON Schema for tool outputs
JavaScript function for final output transformation. Format: (sourceData) => expression
Folder path for organizing tools
"integrations/payments"
Response
Tool created successfully
A multi-step workflow tool that executes one or more protocol-specific operations
"550e8400-e29b-41d4-a716-446655440000"
Ordered execution steps that make up this tool
1"Web Search"
Semantic version string (major.minor.patch)
^\d+\.\d+\.\d+$"2.1.0"
Human-readable instruction describing what the tool does
"Search the web for the given query and return relevant results"
JSON Schema for tool inputs
{
"type": "object",
"properties": {
"query": { "type": "string" },
"maxResults": { "type": "integer", "default": 10 }
},
"required": ["query"]
}
JSON Schema for tool outputs (after transformations applied)
JavaScript function for final output transformation. Format: (sourceData) => expression
"(sourceData) => sourceData.map(item => ({ id: item.id, title: item.name }))"
Folder path for organizing tools
"integrations/payments"
Whether this tool is archived (if so, it will not be listed in the UI and cannot be run)