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': 'Absolute path to the file to patch',
    },
    'diff_content': {
      'type': 'string',
      'description': 'Unified diff content to apply',
    },
  },
  'required': ['file_path', 'diff_content'],
};