scaffold_view
Create a SwiftUI view file with an optional preview provider, specifying the view name and output directory for quick project scaffolding.
Instructions
Generate a SwiftUI View file with optional preview provider
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": {
"name": "<name>",
"outputPath": "<outputPath>"
},
"name": "scaffold_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | View name (e.g., ProfileView) | |
| outputPath | Yes | Directory to create the file in | |
| includePreview | No | Include #Preview macro (default: true) |