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': {
    'taskId': {
      'type': 'string',
      'description': 'The ID of the task to update',
    },
    'subject': {'type': 'string', 'description': 'New subject for the task'},
    'description': {
      'type': 'string',
      'description': 'New description for the task',
    },
    'activeForm': {
      'type': 'string',
      'description':
          'Present continuous form shown in spinner when in_progress '
          '(e.g., "Running tests")',
    },
    'status': {
      'type': 'string',
      'description': 'New status for the task',
      'enum': ['pending', 'in_progress', 'completed', 'deleted'],
    },
    'addBlocks': {
      'type': 'array',
      'items': {'type': 'string'},
      'description': 'Task IDs that this task blocks',
    },
    'addBlockedBy': {
      'type': 'array',
      'items': {'type': 'string'},
      'description': 'Task IDs that block this task',
    },
    'owner': {'type': 'string', 'description': 'New owner for the task'},
    'metadata': {
      'type': 'object',
      'description':
          'Metadata keys to merge into the task. Set a key to null '
          'to delete it.',
    },
  },
  'required': ['taskId'],
  'additionalProperties': false,
};