material_set_texture
Assigns an image file to a material's texture field, clearing it first to re-read changes. An empty path clears the field.
Instructions
Put an image file into a texture field (e.g. slot 'albedo', field 'Albedo Map';
slot 'surface', field 'Normal Map'). The field is cleared first so a changed file is
re-read. srgb and mipmaps default to the previous texture's settings. An empty
path clears the field.
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": {
"name": "<name>",
"slot": "<slot>",
"field": "<field>",
"path": "<path>"
},
"name": "material_set_texture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| slot | Yes | ||
| srgb | No | ||
| field | Yes | ||
| mipmaps | No | ||
| wrapping | No | ||
| filtering | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||