Record Class PendingExternalToolRequest
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.PendingExternalToolRequest
@Generated("copilot-sdk-codegen")
public record PendingExternalToolRequest(String requestId, String toolCallId, String toolName, Object arguments, String providerId, String agentId)
extends Record
External tool call of the session or one of its sub-agents that is still waiting for session.tools.handlePendingToolCall.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentId()Returns the value of theagentIdrecord component.Returns 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.Returns the value of theproviderIdrecord component.Returns the value of therequestIdrecord component.Returns the value of thetoolCallIdrecord component.toolName()Returns the value of thetoolNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PendingExternalToolRequest
public PendingExternalToolRequest(String requestId, String toolCallId, String toolName, Object arguments, String providerId, String agentId) Creates an instance of aPendingExternalToolRequestrecord class.- Parameters:
requestId- the value for therequestIdrecord componenttoolCallId- the value for thetoolCallIdrecord componenttoolName- the value for thetoolNamerecord componentarguments- the value for theargumentsrecord componentproviderId- the value for theproviderIdrecord componentagentId- the value for theagentIdrecord 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). -
requestId
Returns the value of therequestIdrecord component.- Returns:
- the value of the
requestIdrecord component
-
toolCallId
Returns the value of thetoolCallIdrecord component.- Returns:
- the value of the
toolCallIdrecord component
-
toolName
Returns the value of thetoolNamerecord component.- Returns:
- the value of the
toolNamerecord component
-
arguments
Returns the value of theargumentsrecord component.- Returns:
- the value of the
argumentsrecord component
-
providerId
Returns the value of theproviderIdrecord component.- Returns:
- the value of the
providerIdrecord component
-
agentId
Returns the value of theagentIdrecord component.- Returns:
- the value of the
agentIdrecord component
-