write_file
Create UTF-8 text files inside a Godot project, enabling automated generation of scripts, scenes, and configuration files.
Instructions
Write a UTF-8 text file inside 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": {
"path": "<path>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| projectPath | No | Optional absolute Godot project path. Defaults to the project selected in Godot MCP Toolkit. | |
| createDirectories | No |