inputSchema property

  1. @override
Map<String, dynamic> get inputSchema
override

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 "serverpod"). '
          'Available categories: "serverpod", "remote"',
      required: false,
    ),
  },
  required: ['skill_name'],
);