PATCH
/
api
/
v1
/
tools
/
{toolId}
curl --location --request PATCH 'https://api.superagent.sh/api/v1/tools/{toolId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>' \
--data-raw '{
    "name": "My patched tool",
}'
{
  "success": true,
  "data": {
   "id": "cli28c2vd00016itbrlhekwql",
    "name": "My Zapier tool",
    "type": "ZAPIER_NLA",
    ...
  }
}

Params

toolId
string
required
A valid tool id.

Body

name
string
The name of the tool.
description
string
The description of the tool
type
object
The type of tool, valid options SEARCH, WOLFRAM_ALPHA, REPLICATE, ZAPIER_NLA, AGENT or OPENAPI.
metadata
object
Any other configuration needed for the tool as an JSON object.

Response

success
boolean
Indicates whether the call was successful.
data
object
A tool object.
curl --location --request PATCH 'https://api.superagent.sh/api/v1/tools/{toolId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>' \
--data-raw '{
    "name": "My patched tool",
}'
{
  "success": true,
  "data": {
   "id": "cli28c2vd00016itbrlhekwql",
    "name": "My Zapier tool",
    "type": "ZAPIER_NLA",
    ...
  }
}