Skip to main content
PUT
/
api
/
admin
/
tool
/
{id}
Update tool
curl --request PUT \
  --url https://pria.praxislxp.com/api/admin/tool/{id} \
  --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": true,
  "rtEnabled": true,
  "rtOnly": true,
  "categories": []
}
'
{
  "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

Path Parameters

id
string
required

Tool ObjectId

Body

application/json

Partial update — only fields present in the body are written. The handler calls Tool.updateOne({_id}, body) with whatever is supplied; no field is required.

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
boolean
rtEnabled
boolean
rtOnly
boolean
categories
enum<string>[]
Available options:
research,
productivity,
creative,
communication,
learning
status
enum<string>
Available options:
active,
inactive,
deleted

Response

Tool updated successfully

success
boolean
id
string

ObjectId of the updated tool

message
string