Record Class McpCodingPartnerNextAction
java.lang.Object
java.lang.Record
com.shaft.mcp.McpCodingPartnerNextAction
- Record Components:
label- concise UI labeltoolName- MCP tool to prefillarguments- safe typed arguments the client can prefillrequiresConfirmation- whether the user must supply or confirm runtime context firstrationale- why this action comes next
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.label()Returns the value of thelabelrecord component.Returns the value of therationalerecord component.booleanReturns the value of therequiresConfirmationrecord component.toolName()Returns the value of thetoolNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpCodingPartnerNextAction
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
label
-
toolName
-
arguments
-
requiresConfirmation
public boolean requiresConfirmation()Returns the value of therequiresConfirmationrecord component.- Returns:
- the value of the
requiresConfirmationrecord component
-
rationale
-