Add a fabric
clo_add_fabricLoad a .zfab or .jfab fabric file into a CLO project's fabric list, then assign it to selected pattern pieces or all patterns.
Instructions
Load a fabric file (.zfab, .jfab) into the project's fabric list and optionally assign it to pattern pieces. CLO's bundled fabrics are in ~/Documents/clo/CLO Assets/Fabric (denim, jersey knits, organza, velvet, ...).
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": {
"file_path": "<file_path>"
},
"name": "clo_add_fabric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the fabric file. | |
| assign_to_patterns | No | Pattern indices to give this fabric to, or "all". |