Skip to main content
curl -X PATCH https://api.thinnest.ai/v2/tools/{agent_id}/{tool_id} \
  -H "Authorization: Bearer $THINNESTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "description": "Check real-time product inventory",
  "endpoint_url": "https://api.example.com/v2/inventory"
}'
PATCH /v2/tools/{tool_id}

Request Body

{
  "description": "Check real-time product inventory",
  "endpoint_url": "https://api.example.com/v2/inventory"
}

Response

{
  "id": "tool_abc123",
  "name": "check_inventory",
  "type": "function",
  "description": "Check real-time product inventory",
  "endpoint_url": "https://api.example.com/v2/inventory",
  "updated_at": "2026-03-25T12:00:00Z"
}