generate_kotlin_api_bridge
Generates full-stack API bridge contracts for Ktor backends and clients, producing Ktor routes, Kotlin/Dart DTOs, and OpenAPI specifications from service models and endpoints.
Instructions
Generates full-stack API bridge contracts between Ktor backend and clients, including Ktor routes, Kotlin/Dart DTOs, and OpenAPI specifications.
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": {
"serviceName": "<serviceName>"
},
"name": "generate_kotlin_api_bridge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | No | List of data models. | |
| endpoints | No | List of endpoints. | |
| serviceName | Yes | Name of the API service (e.g. 'Order', 'Payment', 'Auth'). |