serving_endpoints_query
Invoke a Databricks serving endpoint by sending a request to the model, supporting chat, completions, embeddings, or custom formats.
Instructions
Query/invoke a serving endpoint
(POST /api/2.0/serving-endpoints/{name}/invocations).
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>",
"body": "<body>"
},
"name": "serving_endpoints_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Serving endpoint name | |
| body | Yes | Raw request body forwarded to the model. Shape depends on the underlying model (chat-completions, completions, embeddings, custom). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |