unity_script_read
Read the content of a C# script file from your Unity project by providing its asset path. Supports parallel-safe routing for multiple Unity instances.
Instructions
Read the contents of a C# script file from the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Asset path of the script | |
| port | No | Target Unity instance port for parallel-safe routing. Get this from unity_select_instance. When working with multiple Unity instances, ALWAYS include this parameter. |