载入中...
搜索中...
未找到
McpToolFamilies.hpp
浏览该文件的文档.
76std::string invokeMcpFamily(McpServer& server, std::string_view name, Poco::JSON::Object::Ptr args) {
77 if constexpr (std::is_invocable_v<decltype(Handler), McpServer&, std::string_view, Poco::JSON::Object::Ptr>) {
Embedded Model Context Protocol (MCP) server for AI-assisted game development.
Definition McpServer.hpp:35
Immutable schema/route catalogue built transactionally from compiled families. @ownership Owns schema...
Definition McpToolFamilies.hpp:40
std::string_view schemas() const noexcept
Borrow immutable comma-separated schemas until this catalogue is destroyed.
Definition McpToolFamilies.hpp:50
Definition ActionGuideExport.cpp:13
@ TextValue
@ ContentEnvelope
std::vector< McpToolFamily > compiledMcpToolFamilies()
Generated build input; returns binary-owned descriptors for exactly the compiled providers....
const McpToolFamilyCatalog & compiledMcpToolCatalog()
Build the process-immortal compiled catalogue once, then borrow it until exit. @lifetime Survives sta...
Definition McpToolFamilies.cpp:47
Process-lifetime compiled family descriptor, generated from its provider declaration.
Definition McpToolFamilies.hpp:27
Owned route value; callbacks belong to the compiled binary, never a reloadable plugin.
Definition McpToolFamilies.hpp:21
std::string(* call)(McpServer &, std::string_view, Poco::JSON::Object::Ptr)
Definition McpToolFamilies.hpp:22