Skip to main content
POST
/
api
/
ai
/
rtTools
/
exec
Execute realtime tool
curl --request POST \
  --url https://pria.praxislxp.com/api/ai/rtTools/exec \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "toolName": "search_rag",
  "arguments": {},
  "callId": "<string>",
  "sessionId": "<string>"
}
'
{
  "success": true,
  "callId": "<string>",
  "result": {},
  "error": "<string>"
}

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Body

application/json
toolName
string
required

Name of the tool to execute

Example:

"search_rag"

arguments
object
required

Tool-specific arguments

callId
string

Unique call identifier for tracking

sessionId
string

Realtime session ID

Response

Tool executed successfully

success
boolean
callId
string

Call ID for correlation

result
object

Tool execution result

error
string

Error message if execution failed