McpToolHandler class

Inheritance

Constructors

McpToolHandler.new({required McpTool metadata})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata McpTool
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getHandler(ResponseEvent e) Future<ResponseItem?> Function(ResponsesSessionController controller)?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDidRequestApproval(McpApprovalRequest request) Future<bool>
onMcpApprovalRequest(ResponsesSessionController controller, McpApprovalRequest request) Future<ResponseItem?>
onMcpApprovalResponse(ResponsesSessionController controller, McpApprovalResponse response) Future<void>
onMcpCall(ResponsesSessionController controller, McpCall call) → void
onMcpListTools(ResponsesSessionController controller, McpListTools list) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited