assets-get-data
Retrieve all serializable fields and properties of a Unity asset by providing its path, instance ID, or GUID. Use after finding the asset with assets-find.
Instructions
Get asset data from the asset file in the Unity project. It includes all serializable fields and properties of the asset. Use 'assets-find' tool to find asset before using this tool.
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": {
"assetRef": "<assetRef>"
},
"name": "assets-get-data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetRef | Yes | Asset reference. SCHEMA: {"assetPath":"Assets/path/to/asset"} or {"instanceID":12345} or {"assetGuid":"guid-string"} |