Experimental
Asserts that task creation is supported for sampling/createMessage or elicitation/create. Used by Server.assertTaskCapability and Client.assertTaskHandlerCapability.
sampling/createMessage
elicitation/create
Server.assertTaskCapability
Client.assertTaskHandlerCapability
The task requests capability object
The method being checked
'Server' or 'Client' for error messages
'Server'
'Client'
Error if the capability is not supported
Asserts that task creation is supported for
sampling/createMessageorelicitation/create. Used byServer.assertTaskCapabilityandClient.assertTaskHandlerCapability.