JsonRpcCallToolRequest class

Request sent from client to invoke a tool provided by the server.

Inheritance

Constructors

JsonRpcCallToolRequest.new({required dynamic id, required CallToolRequestParams callParams, Map<String, dynamic>? meta})
JsonRpcCallToolRequest.fromJson(Map<String, dynamic> json)
factory

Properties

callParams CallToolRequestParams
The call parameters.
final
hashCode int
The hash code for this object.
no setterinherited
id → dynamic
The request identifier.
finalinherited
jsonrpc String
The JSON-RPC version string. Always "2.0".
finalinherited
meta Map<String, dynamic>?
Optional metadata associated with the request.
finalinherited
method String
The method to be invoked.
finalinherited
params Map<String, dynamic>?
The parameters for the method, if any.
finalinherited
progressToken → dynamic
The progress token for out-of-band progress notifications.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the message object to its JSON representation.
inherited
toString() String
A string representation of this object.
inherited

Operators

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