载入中...
搜索中...
未找到
McpInputTools.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 isMcpInputTool(std::string_view name);
24
29[[nodiscard]] EVENGINE_API_FOUNDATION std::string callMcpInputTool(std::string_view name,
30 Poco::JSON::Object::Ptr args);
31
33[[nodiscard]] EVENGINE_API_FOUNDATION std::string_view mcpInputToolSchemas();
34
40
43
44} // namespace eve::dev
std::string name
Definition ECS.cpp:154
#define EVENGINE_API_FOUNDATION
每个链接组(link group)各自的导出宏。
Definition Export.h:106
bool isMcpInputTool(std::string_view name)
Whether name belongs to the input playtest tool family.
std::string callMcpInputTool(std::string_view name, Poco::JSON::Object::Ptr args)
Execute one input tool.
void resetMcpInputBatchesForTest()
Drop pending batches (tests / server stop).
std::string_view mcpInputToolSchemas()
Comma-free MCP tool schema fragments for the input family.
void pollMcpInputBatches()
Advance pending wait/capture batches once per game-loop poll. @thread MCP poll / game-loop thread onl...