Skip to main content
PATCH
/
tools
/
{id}
Update a tool
curl --request PATCH \
  --url http://localhost:8080/api/v1/tools/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "attributes": {
      "auth_key": "<string>",
      "auth_schema_name": "<string>",
      "description": "<string>",
      "name": "<string>",
      "oas_spec": [
        123
      ],
      "privacy_score": 123,
      "tool_type": "<string>"
    },
    "type": "<string>"
  }
}
'
{
  "attributes": {
    "auth_key": "<string>",
    "auth_schema_name": "<string>",
    "description": "<string>",
    "name": "<string>",
    "oas_spec": [
      123
    ],
    "operations": [
      "<string>"
    ],
    "privacy_score": 123,
    "tool_type": "<string>"
  },
  "id": "<string>",
  "type": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

id
integer
required

Tool ID

Body

application/json

Updated tool information

Tool input model

data
object

Response

OK

Tool response model

attributes
object
id
string
type
string