Modellwerk
openapi to mcp
Converts each OpenAPI operation into an MCP tool. Path, query and header parameters and the JSON request body are merged into one input schema, because MCP tools take exactly one; a name collision between a body field and a parameter is reported rather than silently overwritten. Internal $refs are expanded inline so each tool schema stands alone — an MCP client cannot resolve them.
POST https://modell.halowerk.com/v1/openapi-to-mcpEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| document | object | Ja | The OpenAPI 3.x document as JSON. |
| naming | string | Nein | How to normalise tool names. |
| include_methods | array | Nein | Only convert these HTTP methods, e.g. ["get"] for a read-only server. |
| prefix | string | Nein | Prefix for every tool name, to keep several APIs apart in one client. |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"document"
],
"additionalProperties": false,
"properties": {
"document": {
"type": "object",
"description": "The OpenAPI 3.x document as JSON."
},
"naming": {
"type": "string",
"enum": [
"snake_case",
"preserve"
],
"default": "snake_case",
"description": "How to normalise tool names."
},
"include_methods": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only convert these HTTP methods, e.g. [\"get\"] for a read-only server."
},
"prefix": {
"type": "string",
"maxLength": 40,
"description": "Prefix for every tool name, to keep several APIs apart in one client."
}
}
}Veröffentlichtes Eingabebeispiel
{
"document": {},
"naming": "snake_case"
}Ergebnis & Dokumentation
Maschinenlesbare Dokumentation dieses Hubs
Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.
Weitere Endpunkte dieses Hubs
- Modellwerk0,003 USDC
chat completions
POSThttps://modell.halowerk.com/v1/chat-completionsRuns openai/gpt-oss-20b via GroqCloud. Messages are sent to Groq Inc., USA; payment metadata is not forwarded. At most 8 messages, 8192 UTF-8 bytes overall and 1024 completion tokens including reasoning. A length finish_reason exposes trunc
- Modellwerk0,002 USDC
context plan
POSThttps://modell.halowerk.com/v1/context-planPlans the division of a long input for a given model. It reserves room for the system prompt, the expected answer and a safety margin, then works out how many chunks are needed and where to cut, preferring paragraph boundaries over line and
- Modellwerk0,002 USDC
cost estimate
POSThttps://modell.halowerk.com/v1/cost-estimateWorks out what a call would cost. Give either the text itself or a token count, plus the expected output length, and get input, output, cache-read and cache-write cost per model with the total. Token counts derived from text are estimates f