载入中...
搜索中...
未找到
McpToolFilter.hpp
浏览该文件的文档.
39[[nodiscard]] EVENGINE_API_FOUNDATION std::vector<std::string> mcpToolTags(std::string_view name);
Definition ActionGuideExport.cpp:13
std::vector< std::string > mcpToolTags(std::string_view name)
Classify a built-in or script tool into toolset tags.
Definition McpToolFilter.cpp:112
bool mcpToolAllowed(std::string_view name)
Whether name is visible under the current env filter.
Definition McpToolFilter.cpp:250
bool mcpToolMutates(std::string_view name)
Whether the tool mutates game / editor / host state.
Definition McpToolFilter.cpp:204
void mcpToolFilterReloadForTest()
Test helper: clear cached env snapshot so the next allow check reloads.
Definition McpToolFilter.cpp:100
std::string filterMcpToolsBody(std::string_view toolsBody)
Filter a JSON tools array body in place (objects joined by commas).
Definition McpToolFilter.cpp:272
std::string mcpToolFilteredPayload(std::string_view name)
Human-readable rejection payload fields when a call is filtered out.
Definition McpToolFilter.cpp:295
One advertised MCP tool after schema parse (name only for filtering).
Definition McpToolFilter.hpp:30