set_project_setting
Configure Godot project settings by writing values to project.godot, creating sections if needed, using proper config format for strings, booleans, and numbers.
Instructions
Write a setting to project.godot. The value must be a valid Godot config value string. For strings, wrap in double quotes: e.g. value='"res://scene.tscn"'. For booleans/numbers use: 'true', '42'. Creates the section if it doesn't exist.
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>",
"section": "<section>",
"key": "<key>",
"value": "<value>"
},
"name": "set_project_setting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the project directory | |
| section | Yes | Section name (e.g. "application", "display", "rendering") | |
| key | Yes | Setting key (e.g. "config/name", "window/size/viewport_width") | |
| value | Yes | Value string in Godot config format |