Open or import a file
clo_open_fileOpens a CLO file by absolute path; .zprj projects replace the current scene and discard unsaved work, while avatars, garments, fabrics, meshes, and patterns are added using defaults.
Instructions
Open a file in CLO by path. A project (.zprj) replaces the current scene, discarding unsaved work. Avatars (.avt), garments (.zpac), fabrics (.zfab), DXF patterns, OBJ/FBX/glTF meshes and other supported formats are added to it using CLO's defaults. Bundled avatars are in ~/Documents/clo/CLO Assets/Avatar.
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_open_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path of the file to open. | |
| timeout_s | No | Seconds to wait for CLO before giving up. | |
| add_to_scene | No | For .zprj only: add the project's contents to the current scene instead of replacing it (default false). |