curl -X PATCH https://api.ravan.ai/api/v1/tools/019d1fdb-3977-7bd5-ab27-8d3b37ddf4fc/ \ -H "X-Api-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "description": "Check the real-time shipping status of a customer order" }'
{ "success": true, "message": "Tool updated successfully", "data": { "id": "019d1fdb-3977-7bd5-ab27-8d3b37ddf4fc", "organizationId": "1268c1f0-19f3-47db-aefb-c16a7c3ace6e", "name": "check_order_status", "description": "Check the real-time shipping status of a customer order", "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": false } }
Update the name, description, type, or definition of an existing agent tool.
function
webhook
Show data
Tool ID
Successful response
Show child attributes