Dea DardanicaDocumentation
Devices and viewportsRead Markdown

list_devices

List device presets (responsive, iphone-15, iphone-pro-max, pixel-8, ipad-air, desktop) and which one the ACTIVE tab is on. Devices are per tab.

Example#

Call this MCP tool with the argument object below. Replace illustrative IDs, selectors, local paths, and project URLs with values observed in your session.

json
{}

Result#

Lists the running app's available device IDs and dimensions, plus the selected device and orientation.

Results arrive in MCP content blocks. Most structured results are JSON in text blocks; image tools can include image blocks. Handle errors and partial or truncated data. No formal output schema is declared for this tool.

Parameters#

list_devices — table 1
ParameterTypeRequiredDescription
tabstringNoTab name or id in your workspace; does not change the visible tab. minLength: 1

Full input schema#

The schema includes nested shapes and constraints. Additional semantic constraints can apply at runtime; read the description and usage notes.

json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "tab": {
      "description": "Tab name or id in your workspace; does not change the visible tab.",
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}

Reference conventions · Agent operating guide · Troubleshooting