updateTask method
Deliver input responses to an input_required task (tasks/update).
inputResponses is keyed by the task's outstanding inputRequests keys.
Implementation
Future<void> updateTask(
String taskId, Map<String, dynamic> inputResponses) async {
if (!isConnected) throw McpError('Client is not connected to a transport');
await _sendRequest(
'tasks/update', {'taskId': taskId, 'inputResponses': inputResponses});
}