generate_flutter_api_bridge
Generate Flutter API client contracts with Dio REST client, JSON DTOs, Riverpod providers, and WebSocket subscriptions. Define service models and endpoints to scaffold all networking code.
Instructions
Generates full-stack Flutter API client contracts: Dio REST client, JSON DTOs, Riverpod providers, and WebSocket realtime subscription providers.
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_flutter_api_bridge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | No | ||
| baseUrl | No | Base API URL. | https://api.example.com |
| endpoints | No | ||
| serviceName | Yes | Name of the API service (e.g. 'Order', 'Product', 'User'). |