Create a new tool
POST
Create a new tool.
Personal access token scope: tools:write.
bearerheader
AuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
config*Configuration of the tool
customName?stringCustom name for the tool
description*stringTool description
displayName*stringDisplay name for the tool
name*stringName of the tool
status*booleanStatus of the tool
Success
curl -X POST 'http://localhost:7091/api/create_tool' \ -H 'Content-Type: application/json' \ -d '{ "config": {}, "description": "string", "displayName": "string", "name": "string", "status": true}'Example Response200
Empty
Handle OAuth callback by providing the authorization code and state GET
Handle OAuth callback by providing the authorization code and state. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
Delete a tool by ID POST
Delete a tool by ID. [Personal access token](/API/personal-access-tokens) scope: `tools:write`.