McpTool constructor

const McpTool({
  1. required String serverLabel,
  2. required String serverUrl,
  3. List<String>? allowedTools,
  4. Map<String, String>? headers,
  5. McpToolApproval? requireApproval,
})

Implementation

const McpTool({
  required this.serverLabel,
  required this.serverUrl,
  this.allowedTools,
  this.headers,
  this.requireApproval,
});