includeContext property

IncludeContext? get includeContext

A request to include context from one or more MCP servers (including the caller), to be attached to the prompt.

The client MAY ignore this request.

Implementation

IncludeContext? get includeContext {
  final includeContext = _value['includeContext'] as String?;
  if (includeContext == null) return null;
  return IncludeContext.values.firstWhere((c) => c.name == includeContext);
}