Skip to Content
Docs

Update the actions of a tool

POST
/api/update_tool_actions

Update the actions of a tool.

Personal access token scope: tools:write.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Request Body

application/json
  1. body
actions*array<>

Actions the tool can perform

id*string

Tool ID

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/update_tool_actions' \  -H 'Content-Type: application/json' \  -d '{  "actions": [    {}  ],  "id": "string"}'
Example Response200
Empty