Import an MJCF, URDF or USD file into object, material and scene cards
importConvert MJCF, URDF, or USD files into object, material, and scene cards written to a target library folder.
Instructions
Import an MJCF, URDF or USD file into object, material and scene cards. Example arguments: {"file": "robot.urdf", "out": "my_library"}
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": "<file>",
"out": "<out>"
},
"name": "import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | library folder to write the cards to | |
| file | Yes | MJCF (.xml), URDF (.urdf) or USD file | |
| name | No | scene name (default: the file name) |