Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Update AI tool config

PATCH/v1/ai/agents/{agentID}/tools/{toolKey}
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Path parameters
agentIDstringrequired
toolKeystringrequired
Request body
requiredapplication/json
configobject
enabledbooleanrequired
Responses
200OK
agent_idstringrequired
appliedbooleanrequired
callablebooleanrequired
configobjectrequired
descriptionstringrequired
enabledbooleanrequired
idstringrequired
labelstringrequired
lastUsedAtstring
namestringrequired
reviewIssueReviewItemView
Show properties
agent_idstringrequired
assigned_tostring
created_atstringrequired
detailsobjectrequired
idstringrequired
issue_typestringrequired
rawSeveritystringrequired
resolved_atstring
severitystringrequired
source_refstring
statusstringrequired
summarystringrequired
titlestringrequired
updatedAtstringrequired
updated_atstringrequired
review_requiredbooleanrequired
riskstringrequired
statusstringrequired
tool_descriptionstringrequired
tool_keystringrequired
tool_labelstringrequired
updated_atstringrequired
updated_bystring
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
404Not Found
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X PATCH "/v1/ai/agents/string/tools/string" \
  -H "Content-Type: application/json" \
  -d '{
  "config": {},
  "enabled": true
}'
Response
{
  "agent_id": "string",
  "applied": true,
  "callable": true,
  "config": {},
  "description": "string",
  "enabled": true,
  "id": "string",
  "label": "string",
  "lastUsedAt": "string",
  "name": "string",
  "review": {
    "agent_id": "string",
    "assigned_to": "string",
    "created_at": "string",
    "details": {},
    "id": "string",
    "issue_type": "string",
    "rawSeverity": "string",
    "resolved_at": "string",
    "severity": "string",
    "source_ref": "string",
    "status": "string",
    "summary": "string",
    "title": "string",
    "updatedAt": "string",
    "updated_at": "string"
  },
  "review_required": true,
  "risk": "string",
  "status": "string",
  "tool_description": "string",
  "tool_key": "string",
  "tool_label": "string",
  "updated_at": "string",
  "updated_by": "string"
}