Create Project
project_createCreate a new Android project scaffold with Kotlin and Gradle KTS, optionally using Jetpack Compose, by specifying project name, package name, and parent directory.
Instructions
Create a new Android project with Kotlin and Gradle KTS, optionally with Jetpack Compose
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": {
"projectName": "<projectName>",
"packageName": "<packageName>",
"parentDir": "<parentDir>"
},
"name": "project_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minSdk | No | Minimum Android SDK version | |
| parentDir | Yes | Parent directory where the project folder will be created | |
| targetSdk | No | Target Android SDK version | |
| agpVersion | No | Android Gradle Plugin version | 8.7.3 |
| useCompose | No | Use Jetpack Compose instead of XML layouts | |
| packageName | Yes | Java/Kotlin package name, e.g. 'com.example.myapp' | |
| projectName | Yes | Project name (will also be the directory name) | |
| kotlinVersion | No | Kotlin version | 2.1.0 |