set_focus
Configure the camera focus mode by selecting SimpleAutoFocus or ManualFocus for a specific channel.
Instructions
Set camera focus mode.
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": {
"mode": "<mode>"
},
"name": "set_focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Focus mode: SimpleAutoFocus, ManualFocus | |
| channel | No | Camera channel (default 0) |