Renew the lease
emu_renewExtend this session's lease on a shared Android emulator (AVD), even after it expired, to keep the device reserved; it fails when no lease exists or another session owns it.
Instructions
Extend this session's lease of the AVD (default 4 hours from now), also after it ran out. Refused with NO_LEASE when there is no lease (take it with emu_start) and NOT_OWNER when the lease is another session's (then the emulator is busy: wait or ask the person). Does not touch the device.
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": "emu_renew"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| avd | No | AVD name (default "unity-test", or the EMU_AVD environment variable of the server). | |
| hours | No | Lease length in hours from now (default 4). |