declaredValue('id'); return $value; } /** * Declared in: 2025-11-25. * * @return '2.0'|null */ public function getJsonrpc(): ?string { /** @var '2.0'|null $value */ $value = $this->declaredValue('jsonrpc'); return $value; } /** * @return 'sampling/createMessage' */ public function getMethod(): string { /** @var 'sampling/createMessage' $value */ $value = $this->declaredValue('method'); return $value; } /** * @return \WP\McpSchema\Record\CreateMessageRequestParams */ public function getParams(): \WP\McpSchema\Record\CreateMessageRequestParams { /** @var \WP\McpSchema\Record\CreateMessageRequestParams $value */ $value = $this->declaredValue('params'); return $value; } }