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': {
    'action': {
      'type': 'string',
      'enum': ['read', 'write', 'append', 'list'],
      'description': 'Memory operation to perform',
    },
    'path': {
      'type': 'string',
      'description': 'Path to the memory file (relative to project root)',
    },
    'content': {
      'type': 'string',
      'description': 'Content to write or append',
    },
  },
  'required': ['action'],
};