parse_unity_prefab
Extract Inspector-visible data from Unity .prefab, .unity, and .asset files, outputting hierarchical YAML to reduce token usage.
Instructions
Deprecated alias for parse_unity_file. Use parse_unity_file for new clients.
WORKFLOW: For best results with asset name resolution, call init_unity_project first. If already initialized, the cache is loaded automatically.
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": {
"filePath": "<filePath>"
},
"name": "parse_unity_prefab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Optional configuration (uses "standard" preset if omitted) | |
| filePath | Yes | Absolute path to the .prefab, .unity, or .asset file |