Get and Save Logs
get_device_logsRetrieve logcat logs from a specific Android device and save them to a local file for debugging.
Instructions
Get and save logs from logcat on a specific Android device
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": {
"serial": "<serial>"
},
"name": "get_device_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | ||
| time_out | No | ||
| local_log_file_path | No |