assign_fabric
Assign a fabric to a garment pattern by index, with options for which faces to target. Verifies the resulting state and flags timed-out operations for reconciliation before retrying.
Instructions
Assign and verify. Legacy face is colorway option, NOT surface face: 1=current,2=all unlinked,3=all linked. Prefer assign_option. May change scene or write files. Verify resulting state. A timed-out operation is UNKNOWN: reconcile_operation before any retry.
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>",
"pattern_index": "<pattern_index>"
},
"name": "assign_fabric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| face | No | ||
| fabric_index | Yes | ||
| assign_option | No | ||
| pattern_index | Yes |