Capability-backed domain tool families for the embedded MCP server. 更多...
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::dev |
函数 | |
| bool | eve::dev::isMcpDomainTool (std::string_view name) |
Whether name belongs to a capability-backed domain tool family. | |
| std::string | eve::dev::callMcpDomainTool (std::string_view name, Poco::JSON::Object::Ptr args) |
| Execute one domain tool. | |
| std::string_view | eve::dev::mcpDomainToolSchemas () |
| Comma-free MCP tool schema fragments for the domain families. | |
详细描述
Capability-backed domain tool families for the embedded MCP server.
The built-in table grew feature by feature, so several modules that already publish a query capability had no agent surface at all (IDecalQuery, ICameraObstructionQuery, the profiler and the sensing debug hook). This module hosts those families behind one prefix-dispatched interface so the 2500-line server TU does not grow another few hundred lines per domain, and so "the provider exists but no tool does" stops being invisible.
A family must degrade observably: when its provider is trimmed out of the build the tool answers with a named reason instead of pretending to succeed.
在文件 McpDomainTools.hpp 中定义.