as_logcat_watch_start
Start a background logcat capture for incremental polling; returns a watch ID to read new lines and stop the capture.
Instructions
Start a background logcat capture you can poll incrementally.
Returns a watch_id; read new lines with as_logcat_watch_read (pass the returned offset back each time) and stop it with as_logcat_watch_stop.
Args: params (WatchStartInput): serial, filter_spec, clear_first.
Returns: str: JSON with watch_id and the initial offset (0).
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_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |