Update a tool's names, actions, config or chat switch
Update a tool by ID
The tool type (name) never changes. actions are checked
against the stored ones like /api/update_tool_actions: nothing
is added and fixed values are the owner's. A connection-backed MCP
server is moved only through /api/mcp_server/save.
Returns:
{"success": true}, or 400 / 403 / 404 with a message.
Personal access token scope: tools:write.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
actions?array<>Actions the tool can perform
config?Configuration of the tool
customName?stringCustom name for the tool
description?stringTool description
displayName?stringDisplay name for the tool
id*stringTool ID
name?stringName of the tool
status?booleanStatus of the tool
Success
curl -X POST 'http://localhost:7091/api/update_tool' \ -H 'Content-Type: application/json' \ -d '{ "id": "string"}'Update the status of a tool POST
Update the status of a tool. [Personal access token](/API/personal-access-tokens) scope: `tools:write`.
GET /api/triggers/{token} GET
A GET call, taken only by a link created with methods ["POST", "GET"]: the query parameters are the delivery (a dotted key nests). A HEAD, a prefetch (Purpose / Sec-Purpose: prefetch) or a known link-preview or crawler User-Agent gets 200 {ignored} and changes nothing. 202 when accepted, 405 for a POST-only link, 404 for an unknown, expired, revoked or used-up one, 429 when rate limited. Public: the token in the path authorizes the request, so it needs no sign-in or other credential.