{
"webhook_url": "https://api.shop.com/v2/orders/status",
"timeout_seconds": 45
}
{
"success": true,
"message": "Tool updated successfully",
"data": {
"tool_id": "tool_a1b2c3d4e5f6",
"tool_name": "GetOrderStatus",
"webhook_url": "https://api.shop.com/v2/orders/status",
"timeout_seconds": 45,
"updated_at": "2024-01-20T15:00:00Z"
}
}
Tools
Update Tool
PUT
/
api
/
tools
/
{tool_id}
{
"webhook_url": "https://api.shop.com/v2/orders/status",
"timeout_seconds": 45
}
{
"success": true,
"message": "Tool updated successfully",
"data": {
"tool_id": "tool_a1b2c3d4e5f6",
"tool_name": "GetOrderStatus",
"webhook_url": "https://api.shop.com/v2/orders/status",
"timeout_seconds": 45,
"updated_at": "2024-01-20T15:00:00Z"
}
}
Update an existing tool configuration. Only provided fields will be updated.
Headers
Path Parameters
Permissions
tools:update(admin, agent_manager)
Request Body
All fields are optional. Only provided fields will be updated.Response
{
"webhook_url": "https://api.shop.com/v2/orders/status",
"timeout_seconds": 45
}
{
"success": true,
"message": "Tool updated successfully",
"data": {
"tool_id": "tool_a1b2c3d4e5f6",
"tool_name": "GetOrderStatus",
"webhook_url": "https://api.shop.com/v2/orders/status",
"timeout_seconds": 45,
"updated_at": "2024-01-20T15:00:00Z"
}
}