record_screen
Captures a Waydroid display or app window to an MP4 for a fixed duration and returns the saved host file path.
Instructions
Records a display to an MP4 file on the host for a fixed time, then returns its path.
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": "record_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | No | App to act on. An app in its own window or hidden display is found by package; otherwise Waydroid's main display is used. | |
| display_id | No | Android display id instead of a package; 0 is Waydroid's main display. | |
| duration_s | No |