export_mesh_library
Export a Godot scene as a MeshLibrary resource for GridMap or 3D tile reuse. Provide project, scene, and output paths; optionally include only specific mesh items.
Instructions
Export a scene as a MeshLibrary 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": {
"projectPath": "<projectPath>",
"scenePath": "<scenePath>",
"outputPath": "<outputPath>"
},
"name": "export_mesh_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenePath | Yes | Path to the scene file (.tscn) to export | |
| outputPath | Yes | Path where the mesh library (.res) will be saved | |
| projectPath | Yes | Path to the Godot project directory | |
| meshItemNames | No | Optional: Names of specific mesh items to include (defaults to all) |