inputSchema property

  1. @override
Map<String, dynamic> get inputSchema
override

JSON Schema for the tool's input parameters.

Implementation

@override
Map<String, dynamic> get inputSchema => {
  'type': 'object',
  'properties': {
    'url': {'type': 'string', 'description': 'URL to capture'},
    'selector': {
      'type': 'string',
      'description': 'CSS selector to capture a specific element',
    },
    'viewport_width': {
      'type': 'integer',
      'description': 'Viewport width in pixels (default: 1280)',
    },
    'viewport_height': {
      'type': 'integer',
      'description': 'Viewport height in pixels (default: 800)',
    },
  },
};