edit_shader
Edit shader files by replacing the entire content or applying a list of literal search/replace items. Choose one mode per call.
Instructions
Edit a shader file using exactly one mode: content for a full replace, or a replacements list of literal search/replace items
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>"
},
"name": "edit_shader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| force | No | ||
| content | No | ||
| replacements | No |