Skip to main content
POST
/
api
/
admin
/
tool
Create a new tool
curl --request POST \
  --url https://pria.praxislxp.com/api/admin/tool \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "instructions": "<string>",
  "argument_1": "<string>",
  "argument_2": "<string>",
  "argument_3": "<string>",
  "argument_4": "<string>",
  "argument_5": "<string>",
  "argument_6": "<string>",
  "isArray": false,
  "rtEnabled": false,
  "rtOnly": false,
  "categories": [],
  "status": "active"
}
'
{
  "success": true,
  "id": "<string>",
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Body

application/json
name
string
required

Unique tool name

description
string

Short user-facing description

instructions
string

Long-form instructions to the model on when/how to invoke this tool

argument_1
string

Natural-language description of the first argument

argument_2
string
argument_3
string
argument_4
string
argument_5
string
argument_6
string
isArray
boolean
default:false
rtEnabled
boolean
default:false
rtOnly
boolean
default:false
categories
enum<string>[]
Available options:
research,
productivity,
creative,
communication,
learning
status
enum<string>
default:active
Available options:
active,
inactive,
deleted

Response

Tool created successfully

success
boolean
id
string

ObjectId of the newly created tool

message
string