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: {
'category': McpSchema.string(
description: 'Optional category filter (e.g., "authentication", "core", "endpoints")',
),
'search': McpSchema.string(
description: 'Optional search term to filter skills by name or description',
),
'source': McpSchema.enumProperty(
values: ['all', 'built-in', 'custom'],
description: 'Filter by skill source (default: all)',
defaultValue: 'all',
),
},
);