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: {
'table_filter': McpSchema.string(description: 'Filter by table name'),
'include_content': McpSchema.boolean(
description: 'Include migration file content',
defaultValue: false,
),
},
);