载入中...
搜索中...
未找到
McpWhiteboxTools.hpp
浏览该文件的文档.
1#pragma once
2
13#include <Poco/JSON/Object.h>
14
15#include "common/Export.h"
16
17#include <string>
18#include <string_view>
19
20namespace eve::dev {
21
23[[nodiscard]] EVENGINE_API_FOUNDATION bool isMcpWhiteboxTool(std::string_view name);
24
29[[nodiscard]] EVENGINE_API_FOUNDATION std::string callMcpWhiteboxTool(std::string_view name,
30 Poco::JSON::Object::Ptr args);
31
33[[nodiscard]] EVENGINE_API_FOUNDATION std::string_view mcpWhiteboxToolSchemas();
34
35} // namespace eve::dev
std::string name
Definition ECS.cpp:154
#define EVENGINE_API_FOUNDATION
每个链接组(link group)各自的导出宏。
Definition Export.h:106
std::string_view mcpWhiteboxToolSchemas()
Comma-free MCP tool schema fragments for the white-box family.
bool isMcpWhiteboxTool(std::string_view name)
Whether name belongs to the white-box playtest tool family.
std::string callMcpWhiteboxTool(std::string_view name, Poco::JSON::Object::Ptr args)
Execute one white-box tool.