Creates a new custom tool that agents can use. Tools are defined by their parameters schema (JSON Schema format) and the webhook endpoint they call.
Your iwy Service API Key. Find it at app.iwy.ai/settings.
Include it in the Authorization header:
Authorization: Bearer YOUR_API_KEYFunction name (snake_case)
"get_weather"
Clear explanation of what the tool does
"Fetches the current weather for a given city"
Webhook endpoint URL
JSON Schema defining the tool's parameters
POST, GET, PUT, PATCH, DELETE 1 <= x <= 300Tool created successfully
Complete tool configuration
Unique identifier for the tool
ID of the user who owns this tool
Function name (snake_case)
"get_weather"
Clear explanation of what the tool does
"Fetches the current weather for a given city"
Webhook endpoint URL
"https://webhook.example.com/weather"
JSON Schema defining the tool's parameters
{
"type": "object",
"required": ["city"],
"properties": {
"city": {
"type": "string",
"description": "The name of the city"
}
},
"additionalProperties": false
}HTTP method
POST, GET, PUT, PATCH, DELETE Custom HTTP headers
{
"Content-Type": "application/json",
"x-api-key": "your-key"
}Request timeout in seconds
1 <= x <= 300Whether the tool runs asynchronously
Whether to strictly validate parameters
Authentication configuration
Tags for organization