declaredValue('id'); return $value; } /** * @return '2.0' */ public function getJsonrpc(): string { /** @var '2.0' $value */ $value = $this->declaredValue('jsonrpc'); return $value; } /** * @return 'initialize' */ public function getMethod(): string { /** @var 'initialize' $value */ $value = $this->declaredValue('method'); return $value; } /** * @return \WP\McpSchema\Record\InitializeRequestParams */ public function getParams(): \WP\McpSchema\Record\InitializeRequestParams { /** @var \WP\McpSchema\Record\InitializeRequestParams $value */ $value = $this->declaredValue('params'); return $value; } }