adb_logcat_poll
Fetch new logcat lines from an active ADB session to monitor device events incrementally.
Instructions
Retrieve new logcat lines since the last poll from a running watcher session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Session ID from adb_logcat_start (e.g., 'watch_1') | |
| maxLines | No | Max lines to return per poll (1-10000) | |
| result_handle | No | Optional. If provided, store this tool's result under `result://<tool>/<name>` for retrieval after compaction. Name must be 1-32 chars, [a-zA-Z0-9_-]. Existing handles with the same tool+name are overwritten. Use adb_result_list to see active handles, adb_result_get or the MCP Resource URI to retrieve. | |
| result_handle_ttl | No | Optional. TTL in seconds for the result handle (60 to 604800). Default 43200 (12 hours). Ignored if result_handle is not provided. |