载入中...
搜索中...
未找到
McpWorkshopTools.hpp
浏览该文件的文档.
1#pragma once
2
12#include <Poco/JSON/Object.h>
13
14#include "common/Export.h"
15
16#include <string>
17#include <string_view>
18
19namespace eve::dev {
20
22[[nodiscard]] EVENGINE_API_FOUNDATION bool isMcpWorkshopTool(std::string_view name);
23
28[[nodiscard]] EVENGINE_API_FOUNDATION std::string callMcpWorkshopTool(std::string_view name,
29 Poco::JSON::Object::Ptr args);
30
32[[nodiscard]] EVENGINE_API_FOUNDATION std::string_view mcpWorkshopToolSchemas();
33
36
37} // namespace eve::dev
std::string name
Definition ECS.cpp:154
#define EVENGINE_API_FOUNDATION
每个链接组(link group)各自的导出宏。
Definition Export.h:106
bool isMcpWorkshopTool(std::string_view name)
Whether name is the workshop facade.
void resetMcpWorkshopStateForTest()
Test helper: clear workshop mode overlay.
std::string callMcpWorkshopTool(std::string_view name, Poco::JSON::Object::Ptr args)
Execute eve_workshop with a narrow op.
std::string_view mcpWorkshopToolSchemas()
Comma-free MCP tool schema fragment for eve_workshop.