game_logs
Read live Godot runtime output—script errors, stack traces, warnings, and prints—to identify and fix issues during play-testing.
Instructions
Read the RUNNING game's captured output off the runtime channel (real-time, no file logging): runtime SCRIPT errors WITH stack traces, push_error/push_warning, and print(). This is the play->see-error->fix signal — the blind spot logs_read (file-based) can't reliably cover. level=error (default: errors+script+shader) | warning (adds warnings) | all (adds print/stderr). limit=newest N (default 100), filter=substring, clear=true empties the buffer after reading.
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": "game_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| level | No | error | warning | all | |
| limit | No | ||
| filter | No |