shader_global_manage
Manage global shader parameters in Godot Engine: list, set, add, and remove project-wide shader uniforms and settings.
Instructions
Global Shader Parameters, Uniform Variables, and Project-Wide Shader Settings.
Ops:
list_globals() List all global shader parameters defined in RenderingServer.
set_global(name, value) Set or update runtime value of a global shader parameter.
add_global(name, type="float", value=None) Define a new global shader parameter in ProjectSettings (shader_globals/).
remove_global(name) Remove a global shader parameter definition.
Canonical call shape: {"op": "<verb>", "params": {...}}. Flat op parameters are accepted as a compatibility alias when the client transmits them; op and session_id remain top-level.
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": {
"op": "<op>"
},
"name": "shader_global_manage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| params | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||