Set project setting
godot_set_settingSet or add a setting in project.godot, creating the section if missing. Supports string, int, float, bool, and raw Godot literal values.
Instructions
Set or add a setting in project.godot. The section is created if missing. Use type="raw" to write a Godot literal verbatim (e.g. a Vector2 or PackedStringArray).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key, which may contain slashes, e.g. "window/size/viewport_width". | |
| type | No | How to encode value. "raw" writes it verbatim as a Godot variant literal. | string |
| value | Yes | The value to write, interpreted according to "type". | |
| section | Yes | Section name without brackets, e.g. "display". | |
| project_root | No | Path to the Godot project root (folder containing project.godot). Defaults to $GODOT_PROJECT_ROOT or an upward search from the working directory. |