Get @Preview source code
devilge_get_compose_preview_sourceRetrieves the complete source code of a @Preview composable function, including its annotations and body, from a specified Kotlin file.
Instructions
Returns the full source code of a @Preview composable, including its annotations and body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path (absolute or relative to project root) of the .kt file containing the preview. | |
| functionName | Yes | Name of the @Preview function to fetch. |