载入中...
搜索中...
未找到
McpRecipeTools.hpp
浏览该文件的文档.
1#pragma once
2
11#include <Poco/JSON/Object.h>
12
13#include "common/Export.h"
14
15#include <string>
16#include <string_view>
17
18namespace eve::dev {
19
21[[nodiscard]] EVENGINE_API_FOUNDATION bool isMcpRecipeTool(std::string_view name);
22
27[[nodiscard]] EVENGINE_API_FOUNDATION std::string callMcpRecipeTool(std::string_view name,
28 Poco::JSON::Object::Ptr args);
29
31[[nodiscard]] EVENGINE_API_FOUNDATION std::string_view mcpRecipeToolSchemas();
32
33} // namespace eve::dev
std::string name
Definition ECS.cpp:154
#define EVENGINE_API_FOUNDATION
每个链接组(link group)各自的导出宏。
Definition Export.h:106
bool isMcpRecipeTool(std::string_view name)
Whether name is eve_recipe_list or eve_recipe_apply.
std::string_view mcpRecipeToolSchemas()
Comma-free MCP tool schema fragments for the recipe family.
std::string callMcpRecipeTool(std::string_view name, Poco::JSON::Object::Ptr args)
Execute one recipe tool.