Experimental
Asserts that task creation is supported for tools/call. Used by Client.assertTaskCapability and Server.assertTaskHandlerCapability.
The task requests capability object
The method being checked
'Server' or 'Client' for error messages
Error if the capability is not supported
Asserts that task creation is supported for tools/call. Used by Client.assertTaskCapability and Server.assertTaskHandlerCapability.