xcode_create_swift_file
Create a new Swift source file with specified content at a designated path for Xcode projects.
Instructions
Create a new Swift source file with content
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": {
"file_path": "<file_path>",
"content": "<content>"
},
"name": "xcode_create_swift_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path where the Swift file should be created | |
| content | Yes | Swift code content for the file |