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': {
    'file_path': {
      'type': 'string',
      'description': 'Path to file to validate (alternative to content)',
    },
    'content': {
      'type': 'string',
      'description': 'Inline content to validate',
    },
    'validator_type': {
      'type': 'string',
      'enum': ['json', 'yaml', 'toml', 'xml', 'schema'],
      'description': 'Type of validation to perform',
    },
  },
  'required': ['validator_type'],
};