Experimental
Asserts that task creation is supported for tools/call. Used to implement the assertTaskCapability or assertTaskHandlerCapability abstract methods on Protocol.
tools/call
assertTaskCapability
assertTaskHandlerCapability
The task requests capability object
The method being checked
'Server' or 'Client' for error messages
'Server'
'Client'
SdkError with SdkErrorCode.CapabilityNotSupported if the capability is not supported
SdkError
SdkErrorCode.CapabilityNotSupported
Asserts that task creation is supported for
tools/call. Used to implement theassertTaskCapabilityorassertTaskHandlerCapabilityabstract methods on Protocol.