Skip to main content
PUT
Update an API tool

Authorizations

x-public-key
string
header
required
x-private-key
string
header
required

Headers

x-public-key
string
required
x-private-key
string
required
workspace
string
required

Path Parameters

toolId
string
required
Example:

"6710a1b2c3d4e5f600000020"

Body

application/json

All fields are optional — only provided fields are updated.

name
string
Minimum string length: 1
description
string
url
string<uri>
method
enum<string>
Available options:
get,
post,
put,
patch,
delete
headers
object[]
parameters
object
isActive
boolean

Response

API tool updated successfully

message
string
Example:

"API tool updated successfully."

data
object

A user-defined API tool the assistant can invoke.