get_app_logs
Retrieve console output, System.println logs, and crash traces from a running Monkey C app and simulator, with session-file history that survives reconnects.
Instructions
Retrieve console output, System.println logs, and crash traces from the running Monkey C application and simulator. Logs are also appended to a session file, so a reconnect does not lose history.
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_app_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Whether to clear the in-memory log buffer after reading (default: false); the session file is kept | |
| lines | No | Number of most recent log lines to retrieve (defaults to all) | |
| since_seq | No | Only return lines newer than this sequence number (use next_seq from a previous call) |