unity_console
Read recent Unity console entries—logs, warnings, errors, exceptions, and compiler messages—to inspect runtime and compile issues, with optional type filters and buffer clearing.
Instructions
Recent Unity console entries captured by the bridge (logs, warnings, errors, exceptions, compiler messages). Entries before the last script reload are not kept.
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_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the bridge buffer after reading. | |
| limit | No | Max entries, newest last. Default 100. | |
| types | No | Comma-separated filter: log,warning,error,exception,assert,compile-error,compile-warning. Default all. |