Skip to Content
Docs

Replace a tool's config, keeping stored secrets the client left out

POST
/api/update_tool_config

Update the configuration of a tool A connection-backed tool's new key goes to its connection (the owner's to change) and its server cannot be moved here; an api_tool's fixed values are the owner's.

Returns: {"success": true}, or 400 / 403 / 404 with a message.

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
config*

Configuration of the tool

id*string

Tool ID

Response Body

Success

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