Get recent logs
get_logsRetrieve recent Android logcat output filtered by app ID and tag to debug app issues.
Instructions
One-shot dump of recent logcat lines, optionally filtered by app (must be running) and/or tag.
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_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter to this log tag | |
| appId | No | Filter to this app (defaults to session appId if running) | |
| lines | No | Max lines (default 200) | |
| serial | No | Device serial (defaults to session or the only device) |