inputSchema property
Input schema (JSON Schema format)
Defines the structure of parameters that this tool accepts. Follows JSON Schema specification (draft-07 or later).
Implementation
@override
Map<String, dynamic> get inputSchema => McpSchema.inputSchema(
type: 'object',
properties: {
'model_name': McpSchema.string(
description: 'Name of the model class (e.g., "Greeting", "User")',
),
},
required: ['model_name'],
);