curl https://api.ravan.ai/api/v1/tools/019d1fdb-3977-7bd5-ab27-8d3b37ddf4fc/ \
-H "X-Api-Key: YOUR_API_KEY"
{
"success": true,
"message": "Tool fetched successfully",
"data": {
"id": "019d1fdb-3977-7bd5-ab27-8d3b37ddf4fc",
"organizationId": "1268c1f0-19f3-47db-aefb-c16a7c3ace6e",
"name": "check_order_status",
"description": "Look up the current status of a customer order by order ID",
"type": "function",
"definition": {
"name": "check_order_status",
"description": "Look up the current status of a customer order",
"parameters": {
"type": "object",
"properties": {
"order_id": {
"type": "string",
"description": "The unique order identifier"
}
},
"required": ["order_id"]
}
},
"isActive": true
}
}
Retrieve the full definition and status of a single agent tool by its ID.
curl https://api.ravan.ai/api/v1/tools/019d1fdb-3977-7bd5-ab27-8d3b37ddf4fc/ \
-H "X-Api-Key: YOUR_API_KEY"
{
"success": true,
"message": "Tool fetched successfully",
"data": {
"id": "019d1fdb-3977-7bd5-ab27-8d3b37ddf4fc",
"organizationId": "1268c1f0-19f3-47db-aefb-c16a7c3ace6e",
"name": "check_order_status",
"description": "Look up the current status of a customer order by order ID",
"type": "function",
"definition": {
"name": "check_order_status",
"description": "Look up the current status of a customer order",
"parameters": {
"type": "object",
"properties": {
"order_id": {
"type": "string",
"description": "The unique order identifier"
}
},
"required": ["order_id"]
}
},
"isActive": true
}
}
Show data
function, webhook.curl https://api.ravan.ai/api/v1/tools/019d1fdb-3977-7bd5-ab27-8d3b37ddf4fc/ \
-H "X-Api-Key: YOUR_API_KEY"
{
"success": true,
"message": "Tool fetched successfully",
"data": {
"id": "019d1fdb-3977-7bd5-ab27-8d3b37ddf4fc",
"organizationId": "1268c1f0-19f3-47db-aefb-c16a7c3ace6e",
"name": "check_order_status",
"description": "Look up the current status of a customer order by order ID",
"type": "function",
"definition": {
"name": "check_order_status",
"description": "Look up the current status of a customer order",
"parameters": {
"type": "object",
"properties": {
"order_id": {
"type": "string",
"description": "The unique order identifier"
}
},
"required": ["order_id"]
}
},
"isActive": true
}
}