Skip to Content
Docs

Create a new tool

POST
/api/create_tool

Create a new 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
config*

Configuration of the tool

customName?string

Custom name for the tool

description*string

Tool description

displayName*string

Display name for the tool

name*string

Name of the tool

status*boolean

Status of the tool

Response Body

Success

Example Request
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