List C# Scripts
unity_list_scriptsLists .cs script files and sizes in a Unity project folder, with pagination and substring filtering, to locate game code before reading or editing it.
Instructions
List .cs files under a project folder with sizes. Paginated.
Args: folder (default 'Assets'), filter substring (optional), limit/offset. Use when: finding where game code lives before reading or editing it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unity_list_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (1-100) | |
| filter | No | Substring filter on file name, e.g. 'Player' | |
| folder | No | Project-relative folder to search, e.g. 'Assets/Scripts' | Assets |
| offset | No | Number of results to skip for pagination | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |