serving_endpoints_create
Create a serving endpoint to deploy and serve machine learning models with configured served entities, traffic, and AI gateway.
Instructions
Create a serving endpoint (POST /api/2.0/serving-endpoints).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"config": "<config>"
},
"name": "serving_endpoints_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Serving endpoint name | |
| config | Yes | Endpoint config containing ``served_entities`` (or ``served_models``), ``traffic_config``, ``auto_capture_config``, and ``ai_gateway`` as needed. | |
| route_optimized | No | Whether to optimize routing for the endpoint |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |