inputSchema property

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

JSON Schema for the tool's input parameters.

Implementation

@override
Map<String, dynamic> get inputSchema => {
  'type': 'object',
  'properties': {
    'code': {
      'type': 'string',
      'description': 'Código JavaScript estándar a ejecutar (ej. "function fib(n) { return n <= 1 ? n : fib(n-1) + fib(n-2); } fib(10);").',
    },
  },
  'required': ['code'],
};