get_console_logs
Retrieve recent Unity console output—logs, warnings, and errors—to debug asset imports and graph runs. Filter by level, message text, or stack trace to isolate issues.
Instructions
Get recent Unity console output. Returns logs, warnings, and errors.
Useful for debugging after importing assets or running graphs.
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": "get_console_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Filter by log level (default: all) | |
| limit | No | Maximum number of entries to return (default: 50) | |
| regex | No | Case-insensitive regular expression applied to message and stack trace | |
| contains | No | Case-insensitive message substring filter | |
| stackContains | No | Case-insensitive stack-trace substring filter | |
| sinceTimestamp | No | Only return entries at or after this Unix timestamp in milliseconds | |
| maxResponseBytes | No | Maximum UTF-8 bytes of the complete result text. Omitted entries are reported; narrow filters or explicitly raise the budget for more detail. |