replace_fabric
Swap an existing fabric in a CLO3D project with a new one by specifying its index and a .zfab file path.
Instructions
Replace an existing fabric with a new one from file.
Args: fabric_index: Zero-based index of the fabric to replace. file_path: Absolute path to the replacement fabric file (.zfab).
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>",
"file_path": "<file_path>"
},
"name": "replace_fabric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| fabric_index | Yes |