devices
Phones this key can use. op=list: name, label (the name people see in the dashboard, e.g. "Phone #3"), number, state (running / stopped / starting), Android version and network exit. Every tool takes the name, the label or the number. op=start / op=stop / op=restart with device: start a stopped phone (one to three minutes until it has booted), stop one (it keeps its apps and data) or restart it. op=reset with device: back to a fresh state - apps and data wiped, same Android version; works whether the phone runs or is stopped. Ask the user before reset. op=rename with device and label: give a phone a name (empty = back to "Phone #N"). op=delete with device: the phone moves to Trash for 14 days - stopped, not billed, apps and data kept - and op=restore brings it back (stopped). forever=true deletes it with all its data at once and cannot be undone: only when the user says so. op=trash: what is in Trash (name, label, android, deleted_at, purge_at, reason). op=restore with device: back from Trash (the name or label as shown by op=trash).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | list (default) | start | stop | restart | reset | rename | delete | trash | restore | list |
| label | No | rename: the new name, up to 40 characters | |
| device | No | device (name, label or number) - for everything except list and trash | |
| forever | No | delete: true wipes the phone with all its data at once instead of moving it to Trash (cannot be undone) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |