Skip to main content
POST
Update a tool

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

toolID
string
required

Body

application/json
name
string

Name of the tool

Example:

"confirmationNumber"

description
string

Description of the tool

Example:

"Here's your case reference number"

speech
string

Speech response for the tool

Example:

"one moment GP"

url
string

URL endpoint for the tool

Example:

"https://staging.cleartalk.ai/randomNumber"

method
enum<string>

HTTP method for the tool

Available options:
GET,
POST,
PUT,
DELETE,
PATCH
Example:

"GET"

headers
object

HTTP headers for the request

Example:
body
object

Request body parameters

Example:
query
object

Query parameters

Example:
input_schema
object

Input schema for the tool

Example:
response
object

Response schema for the tool

Example:
timeout
number

Timeout in seconds

Example:

30

Response

Tool updated successfully