Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
tools
Create tool
curl --request POST \
  --url https://api.pathors.com/v1/projects/{projectId}/tools \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "<string>",
  "metadata": "<unknown>"
}
'
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "name": "<string>",
    "description": "<string>",
    "metadata": {},
    "inputSchema": {},
    "placeholderMessages": {
      "messages": {},
      "defaultLanguage": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Developer key created from the dashboard (Settings → Developer Keys)

Path Parameters

projectId
string
required

The ID of your project

Body

application/json
type
string
required
Minimum string length: 1
metadata
any

Response

Created

data
object
required