Skip to main content
POST
/
v2
/
tools
Create Tool
curl --request POST \
  --url http://localhost:3000/api/v2/tools \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "workspaceId": "<string>",
  "isDefault": true,
  "serverUrl": "<string>",
  "serverUrlSecret": "<string>",
  "disabled": true
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
description
string
required
workspaceId
string
required
isDefault
boolean
serverUrl
string
serverUrlSecret
string
disabled
boolean

Response

Tool created successfully

id
string
required
I