List device presets
list_devicesLists the device presets (phones, tablets, desktops) with their viewport size and pixel ratio, optionally filtered by a part of the name. Renders nothing and uses no credits.
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": "list_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Part of a device name, like 'iphone' |