Skip to main content
GET
/
api
/
admin
/
tool
/
{id}
Get tool by ID
curl --request GET \
  --url https://pria.praxislxp.com/api/admin/tool/{id} \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "name": "<string>",
    "responseLength": 123,
    "responseDurationMs": 123,
    "success": true,
    "_id": "<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",
    "created": "2023-11-07T05:31:56Z",
    "unavailable": true,
    "unavailableReason": "<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

Response

Tool retrieved successfully

success
boolean
data
object

A tool definition consumed by the Pria orchestrator. Field names match the Mongoose schema in routes/models/tool.js. Each argument_N is a free-form natural-language description of what value the model should pass for that positional argument — the orchestrator forwards it to the LLM as the parameter description (NOT a JSON Schema definition).