Skip to main content
POST
/
api
/
tools
{
  "config": {
    "tool_name": "GetOrderStatus",
    "tool_description": "Retrieves the status of a customer order using their order ID",
    "webhook_url": "https://api.shop.com/orders/status",
    "http_method": "POST",
    "parameters": [
      {
        "parameter_name": "order_id",
        "parameter_type": "string",
        "parameter_description": "The unique order identifier",
        "parameter_required": true
      }
    ]
  }
}
{
  "success": true,
  "tool": {}
}
Create a new custom tool that agents can use during calls.
config
object
required
Tool configuration object.

Response

success
boolean
Indicates success.
tool
object
The created tool object.
{
  "config": {
    "tool_name": "GetOrderStatus",
    "tool_description": "Retrieves the status of a customer order using their order ID",
    "webhook_url": "https://api.shop.com/orders/status",
    "http_method": "POST",
    "parameters": [
      {
        "parameter_name": "order_id",
        "parameter_type": "string",
        "parameter_description": "The unique order identifier",
        "parameter_required": true
      }
    ]
  }
}