as_logcat_watch_read
Read incremental logcat output from a running watch using a byte offset; returns new lines, a new offset, and status.
Instructions
Read new output from a running logcat watch since a byte offset.
Args: params (WatchReadInput): watch_id, since_offset, grep.
Returns: str: JSON with 'text' (new lines), 'offset' (pass to the next read), 'running' and 'total_bytes'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params": "<params>"
},
"name": "as_logcat_watch_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |