write_file
Create or overwrite a text file in a Godot project by specifying the project path, relative file path, and content.
Instructions
Create or overwrite a text file in a Godot project
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": {
"projectPath": "<projectPath>",
"filePath": "<filePath>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | File content to write | |
| filePath | Yes | File path relative to project root | |
| projectPath | Yes | Godot project path |