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': {
    'command': {
      'type': 'string',
      'description': 'The bash command to execute',
    },
    'description': {
      'type': 'string',
      'description':
          'Clear, concise description of what this command does in active voice',
    },
    'timeout': {
      'type': 'integer',
      'description':
          'Optional timeout in milliseconds (up to 600000ms / 10 minutes). '
          'Default: 120000ms (2 minutes)',
    },
  },
  'required': ['command'],
};