Record Class McpSchema.CallToolRequest
java.lang.Object
java.lang.Record
net.mcreator.io.mcp.protocol.McpSchema.CallToolRequest
- Enclosing class:
McpSchema
-
Constructor Summary
ConstructorsConstructorDescriptionCallToolRequest(String name, com.google.gson.JsonElement arguments) Creates an instance of aCallToolRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElementReturns the value of theargumentsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CallToolRequest
Creates an instance of aCallToolRequestrecord class.- Parameters:
name- the value for thenamerecord componentarguments- the value for theargumentsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
arguments
public com.google.gson.JsonElement arguments()Returns the value of theargumentsrecord component.- Returns:
- the value of the
argumentsrecord component
-