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