Execute C# in Tuanjie
execute_csharp_scriptRun inline C# or a .cs file to modify Tuanjie editor scenes, GameObjects, assets, and console through the Codely Bridge.
Instructions
Executes inline C# or an existing .cs file through the official Bridge. Provide script or script_path. This can mutate the project or editor state.
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": "execute_csharp_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | No | ||
| summary | No | ||
| script_path | No | ||
| capture_logs | No | ||
| execution_mode | No | ||
| record_game_view | No |