Skip to main content
DELETE
/
api
/
v1
/
tools
/
{tool_id}
Delete Tool
curl --request DELETE \
  --url https://api.voicebot.studio/api/v1/tools/{tool_id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "<string>",
  "type": "<string>",
  "organizationId": "<string>",
  "createdBy": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "function": {
    "name": "<string>",
    "strict": false,
    "description": "<string>",
    "parameters": {
      "type": "object",
      "properties": {},
      "required": [
        "<string>"
      ]
    }
  },
  "server": {
    "url": "<string>",
    "timeoutSeconds": 20,
    "secret": "<string>",
    "headers": {}
  },
  "messages": [
    {
      "type": "request-start",
      "contents": [
        {
          "type": "text",
          "text": "<string>",
          "language": "aa"
        }
      ],
      "content": "<string>",
      "conditions": [
        {
          "operator": "eq",
          "param": "<string>",
          "value": {}
        }
      ]
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Path Parameters

tool_id
string
required

Response

Successful Response

id
string
required
type
string
required
organizationId
string
required
createdBy
string
required
createdAt
string
required
updatedAt
string
required
function
OpenAIFunction · object
server
Server · object
messages
(ToolMessageStart · object | ToolMessageComplete · object | ToolMessageFailed · object | ToolMessageDelayed · object)[] | null