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': {
    'to': {
      'type': 'string',
      'description':
          'Recipient: teammate name, or "*" for broadcast to all '
          'teammates',
    },
    'summary': {
      'type': 'string',
      'description':
          'A 5-10 word summary shown as a preview in the UI '
          '(required when message is a string)',
    },
    'message': {
      'description':
          'Plain text message content, or a structured '
          'message object (shutdown_request, shutdown_response, '
          'plan_approval_response)',
    },
  },
  'required': ['to', 'message'],
};