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': {
    'server_name': {
      'type': 'string',
      'description': 'Name of the MCP server',
    },
    'tool_name': {
      'type': 'string',
      'description': 'Name of the tool on the server',
    },
    'arguments': {
      'type': 'object',
      'description': 'Arguments to pass to the tool',
    },
  },
  'required': ['server_name', 'tool_name'],
};