zoom
Set the camera's optical magnification ratio, where 1.0 is wide and higher values narrow the view. The requested value is clamped to the supported range and returned.
Instructions
Set optical zoom as a multiplier: 1.0 is wide, up to the camera's maximum.
Convenience over the raw zoom axis, which counts in hundredths. The requested ratio is clamped to what the camera supports and the clamped value is returned.
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": {
"ratio": "<ratio>"
},
"name": "zoom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratio | Yes |