wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
ServerInfoHandler.h
Go to the documentation of this file.
1// Copyright 2015 - 2026, GIBIS-UNIFESP and the wiRedPanda contributors
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4#pragma once
5
7
16{
17public:
18 explicit ServerInfoHandler(MainWindow *mainWindow, const MCPValidator *validator);
19
20 QJsonObject handleCommand(const QString &command, const QJsonObject &params, const QJsonValue &requestId) override;
21
22private:
23 QJsonObject handleGetServerInfo(const QJsonObject &params, const QJsonValue &requestId);
24 QJsonObject handleListCommands(const QJsonObject &params, const QJsonValue &requestId);
25 QJsonObject handleDescribeCommand(const QJsonObject &params, const QJsonValue &requestId);
26};
BaseHandler(MainWindow *mainWindow, const MCPValidator *validator)
JSON Schema validator for MCP commands and responses using native json-schema-validator.
The top-level application window hosting the tab bar, menus, element palette, and editor.
Definition MainWindow.h:47
QJsonObject handleCommand(const QString &command, const QJsonObject &params, const QJsonValue &requestId) override
ServerInfoHandler(MainWindow *mainWindow, const MCPValidator *validator)