Skip to main content
PATCH
/
org
/
{org_id}
/
tools
/
{tool_id}
Update tool
curl --request PATCH \
  --url https://v2-nova-api.prod.czmx.in/org/{org_id}/tools/{tool_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "body": "<string>",
  "description": "<string>",
  "filler_phrases": [
    "<string>"
  ],
  "headers": [
    123
  ],
  "method": "GET",
  "name": "<string>",
  "parameters": [
    {
      "name": "<string>",
      "type": "<string>",
      "description": "<string>",
      "required": true
    }
  ],
  "url": "<string>"
}
'
{
  "body": "<string>",
  "created_at": "<string>",
  "description": "<string>",
  "filler_phrases": [
    "<string>"
  ],
  "headers": [
    123
  ],
  "id": "<string>",
  "method": "<string>",
  "name": "<string>",
  "parameters": [
    {
      "created_at": "<string>",
      "description": "<string>",
      "id": "<string>",
      "name": "<string>",
      "position": 123,
      "required": true,
      "type": "<string>"
    }
  ],
  "updated_at": "<string>",
  "url": "<string>"
}

Path Parameters

org_id
string
required

Organization ID

tool_id
string
required

Tool ID

Body

application/json

Fields to update

body
string
description
string
filler_phrases
string[]
headers
integer[]
method
enum<string>
Available options:
GET,
POST,
PUT,
PATCH,
DELETE
name
string
Required string length: 1 - 255
parameters
object[]

If provided, replaces all existing parameters

url
string

Response

OK

body
string
created_at
string
description
string
filler_phrases
string[]
headers
integer[]
id
string
method
string
name
string
parameters
object[]
updated_at
string
url
string