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':
          'The absolute path to the file to write '
          '(must be absolute, not relative)',
    },
    'content': {
      'type': 'string',
      'description': 'The content to write to the file',
    },
  },
  'required': ['file_path', 'content'],
};