scaffold_kotlin_ai_module
Scaffold Kotlin AI modules for Google GenAI, MediaPipe on-device LLM, or ONNX Runtime with Flow streaming and ViewModel state integration. Provide feature name and optional system prompt.
Instructions
Scaffolds Google GenAI Kotlin SDK / MediaPipe on-device LLM inference modules with Flow streaming and ViewModel state integration.
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": {
"featureName": "<featureName>"
},
"name": "scaffold_kotlin_ai_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | google-genai | |
| featureName | Yes | Name of the AI feature (e.g. 'ChatAssistant', 'CodeExplainer', 'SmartSearch'). | |
| systemInstruction | No | Custom system prompt/instruction for the AI model. |