toggle_torch
Toggle the flashlight (torch) on an Android device by sending a boolean value.
Instructions
Turn the flashlight (torch) on or off.
Args: enabled: True to turn on, False to turn off
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": "toggle_torch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |