curl --request GET \
--url https://api.example.com/api/tools \
--header 'X-API-Key: <x-api-key>' \
--header 'X-Organization-Id: <x-organization-id>'{
"success": true,
"data": [
{
"tool_id": "tool_a1b2c3d4e5f6",
"tool_name": "GetOrderStatus",
"tool_description": "Retrieves the status of a customer order",
"http_method": "POST",
"timeout_seconds": 30,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-20T14:45:00Z"
},
{
"tool_id": "tool_b2c3d4e5f6a7",
"tool_name": "CheckInventory",
"tool_description": "Checks stock level for an item",
"http_method": "GET",
"timeout_seconds": 30,
"created_at": "2024-01-10T09:00:00Z",
"updated_at": "2024-01-10T09:00:00Z"
}
],
"pagination": {
"next_cursor": "eyJ0b29sX2lkIjogInRvb2xfeHl6In0=",
"has_more": false,
"page_size": 50,
"total_count": 2
}
}
curl --request GET \
--url https://api.example.com/api/tools \
--header 'X-API-Key: <x-api-key>' \
--header 'X-Organization-Id: <x-organization-id>'{
"success": true,
"data": [
{
"tool_id": "tool_a1b2c3d4e5f6",
"tool_name": "GetOrderStatus",
"tool_description": "Retrieves the status of a customer order",
"http_method": "POST",
"timeout_seconds": 30,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-20T14:45:00Z"
},
{
"tool_id": "tool_b2c3d4e5f6a7",
"tool_name": "CheckInventory",
"tool_description": "Checks stock level for an item",
"http_method": "GET",
"timeout_seconds": 30,
"created_at": "2024-01-10T09:00:00Z",
"updated_at": "2024-01-10T09:00:00Z"
}
],
"pagination": {
"next_cursor": "eyJ0b29sX2lkIjogInRvb2xfeHl6In0=",
"has_more": false,
"page_size": 50,
"total_count": 2
}
}
tools:read (all roles){
"success": true,
"data": [
{
"tool_id": "tool_a1b2c3d4e5f6",
"tool_name": "GetOrderStatus",
"tool_description": "Retrieves the status of a customer order",
"http_method": "POST",
"timeout_seconds": 30,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-20T14:45:00Z"
},
{
"tool_id": "tool_b2c3d4e5f6a7",
"tool_name": "CheckInventory",
"tool_description": "Checks stock level for an item",
"http_method": "GET",
"timeout_seconds": 30,
"created_at": "2024-01-10T09:00:00Z",
"updated_at": "2024-01-10T09:00:00Z"
}
],
"pagination": {
"next_cursor": "eyJ0b29sX2lkIjogInRvb2xfeHl6In0=",
"has_more": false,
"page_size": 50,
"total_count": 2
}
}