curl --request POST \
--url https://api.cleartalk.ai/tools/{toolID}/update \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data @- <<EOF
{
"name": "confirmationNumber",
"description": "Here's your case reference number",
"speech": "one moment GP",
"url": "https://staging.cleartalk.ai/randomNumber",
"method": "GET",
"headers": {
"Content-Type": "application/json"
},
"body": {},
"query": {},
"input_schema": {},
"response": {},
"timeout": 30
}
EOFcurl --request POST \
--url https://api.cleartalk.ai/tools/{toolID}/update \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data @- <<EOF
{
"name": "confirmationNumber",
"description": "Here's your case reference number",
"speech": "one moment GP",
"url": "https://staging.cleartalk.ai/randomNumber",
"method": "GET",
"headers": {
"Content-Type": "application/json"
},
"body": {},
"query": {},
"input_schema": {},
"response": {},
"timeout": 30
}
EOFAPI Key for authentication
Name of the tool
"confirmationNumber"
Description of the tool
"Here's your case reference number"
Speech response for the tool
"one moment GP"
URL endpoint for the tool
"https://staging.cleartalk.ai/randomNumber"
HTTP method for the tool
GET, POST, PUT, DELETE, PATCH "GET"
HTTP headers for the request
{ "Content-Type": "application/json" }Request body parameters
{}Query parameters
{}Input schema for the tool
{}Response schema for the tool
{}Timeout in seconds
30
Tool updated successfully