Skip to main content
PATCH
Update tool configuration

Authorizations

Authorization
string
header
required

Your iwy Service API Key. Find it at app.iwy.ai/settings.

Include it in the Authorization header:

Path Parameters

id
string<uuid>
required

The unique identifier (UUID) of the tool

Body

application/json

Fields to update (all optional)

name
string
description
string
server_url
string<uri>
parameters_schema
object
method
enum<string>
Available options:
POST,
GET,
PUT,
PATCH,
DELETE
headers
object
timeout_seconds
integer
Required range: 1 <= x <= 300
is_async
boolean
strict_params
boolean
auth_config
object | null
tags
string[]

Response

Tool updated successfully

Complete tool configuration

id
string<uuid>
required

Unique identifier for the tool

user_id
string<uuid>
required

ID of the user who owns this tool

name
string
required

Function name (snake_case)

Example:

"get_weather"

description
string
required

Clear explanation of what the tool does

Example:

"Fetches the current weather for a given city"

server_url
string<uri>
required

Webhook endpoint URL

Example:

"https://webhook.example.com/weather"

parameters_schema
object
required

JSON Schema defining the tool's parameters

Example:
method
enum<string>
default:POST
required

HTTP method

Available options:
POST,
GET,
PUT,
PATCH,
DELETE
headers
object

Custom HTTP headers

Example:
timeout_seconds
integer
default:20

Request timeout in seconds

Required range: 1 <= x <= 300
is_async
boolean
default:false

Whether the tool runs asynchronously

strict_params
boolean
default:true

Whether to strictly validate parameters

auth_config
object | null

Authentication configuration

tags
string[]

Tags for organization