get_assembly_for_path
Retrieve the assembly (.asmdef name and path) for a given asset path (script or folder). Helps identify which assembly contains the asset in a Unity project.
Instructions
Get the assembly (asmdef name and path) that contains the given asset path (script or folder).
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": {
"asset_path": "<asset_path>"
},
"name": "get_assembly_for_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_path | Yes | e.g. Assets/Scripts/Player.cs or Assets/Scripts |