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: {
'skill_name': McpSchema.string(
description: 'Name of the skill (e.g., "core", "endpoints", "models")',
required: true,
),
'category': McpSchema.string(
description: 'Optional category (defaults to "authentication"). '
'Available categories: "authentication", "core", "endpoints", "migrations", "models", "redis", "testing", "webhooks"',
required: false,
),
'source': McpSchema.enumProperty(
values: ['any', 'built-in', 'custom'],
description: 'Preferred skill source (default: any - checks built-in first)',
defaultValue: 'any',
),
},
required: ['skill_name'],
);