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': ['get', 'set', 'list', 'reset'],
      'description': 'Config operation to perform',
    },
    'key': {
      'type': 'string',
      'description': 'Configuration key (dot-notation supported)',
    },
    'value': {'description': 'Value to set (for set action)'},
    'scope': {
      'type': 'string',
      'enum': ['user', 'project', 'local'],
      'description': 'Configuration scope (default: user)',
    },
  },
  'required': ['action'],
};