create-endpoint
Create a serverless endpoint on RunPod by specifying a template, compute type, GPU configuration, and scaling parameters.
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": {
"templateId": "<templateId>"
},
"name": "create-endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the endpoint | |
| templateId | Yes | Template ID to use | |
| computeType | No | GPU or CPU endpoint | |
| gpuTypeIds | No | List of acceptable GPU types | |
| gpuCount | No | Number of GPUs per worker | |
| workersMin | No | Minimum number of workers | |
| workersMax | No | Maximum number of workers | |
| dataCenterIds | No | List of data centers |