audit_kotlin_codebase
Audits Kotlin code to detect Compose performance anti-patterns, coroutine leaks, blocking main-thread calls, missing @Immutable markers, and architecture violations.
Instructions
Audits Kotlin code for Compose performance anti-patterns, coroutine leaks, blocking calls on Dispatchers.Main, missing @Immutable markers, and architecture violations.
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": {
"code": "<code>"
},
"name": "audit_kotlin_codebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The Kotlin source code to audit. | |
| fileType | No | The architectural layer or component type. | compose-ui |