fabric_set_texture
Set a fabric's base color, normal, roughness, or opacity texture by applying an image to a specified fabric in a CLO3D project.
Instructions
Apply an image as a fabric's base colour texture (or normal/roughness/opacity map).
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": {
"fabric_index": "<fabric_index>",
"image_path": "<image_path>"
},
"name": "fabric_set_texture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map | No | base | |
| image_path | Yes | ||
| fabric_index | Yes |