GET
/
api
/
v1
/
tools
/
{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
  }
}

Authorizations

X-Api-Key
string
required
Your Agni API key. Find it in your support@ravan.ai under Settings → API Keys.

Path Parameters

id
string
required
The unique UUID of the tool to retrieve.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
data
object
The tool object.
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
  }
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Tool ID

Response

Successful response

success
boolean
message
string
data
object