set_default_device
Set the session default Android device by serial so later ADB commands target it without respecifying; pass an empty string to clear.
Instructions
Set the session default device serial (overrides ADB_SERIAL for later calls). Pass an empty string to clear it.
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": "set_default_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||