declaredValue('jsonrpc'); return $value; } /** * @return 'notifications/cancelled' */ public function getMethod(): string { /** @var 'notifications/cancelled' $value */ $value = $this->declaredValue('method'); return $value; } /** * @return \WP\McpSchema\Record\CancelledNotificationParams */ public function getParams(): \WP\McpSchema\Record\CancelledNotificationParams { /** @var \WP\McpSchema\Record\CancelledNotificationParams $value */ $value = $this->declaredValue('params'); return $value; } }