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>"
}Admin Tools
Update tool
Updates an existing tool. Super admin only. Performs a partial update with the fields supplied in the body. Note: if the target tool does not exist the handler returns 400 (not 404).
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
JWT token passed in x-access-token header
Path Parameters
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.
Available options:
research, productivity, creative, communication, learning Available options:
active, inactive, deleted Was this page helpful?
⌘I