pixera_import_resource
Import files or whole folders into a Pixera resource folder, including OBJ to 3DModel resources, without deleting existing resources; returns each new resource's name, ID, and type.
Instructions
Import a file (or, with directory=true, every file in a folder) into a resource folder.
OBJ files become '3DModel' resources (confirmed live); assign them to a layer with pixera_setup_layer(model_resource_id=...).
Directory import never removes existing resources. Returns name, id and type of each new resource.
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": {
"path": "<path>",
"folder_name_path": "<folder_name_path>"
},
"name": "pixera_import_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| directory | No | ||
| folder_name_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||