|
Entropic 2.14.3
Local-first agentic inference engine
|
ToolBase implementation, load_tool_definition, and the response-format renderer (gh#203). More...
#include <entropic/mcp/tool_base.h>#include <entropic/mcp/server_base.h>#include <entropic/types/logging.h>#include <nlohmann/json.hpp>#include <algorithm>#include <fstream>#include <stdexcept>#include <string>#include <vector>
Go to the source code of this file.
Namespaces | |
| namespace | entropic |
| Activate model on GPU (WARM → ACTIVE). | |
Functions | |
| std::string | entropic::render_response_format (const std::string &output_schema_json) |
| Render an outputSchema as the compact "Response format" text a model reads (gh#203). | |
| std::string | entropic::tool_error_json (const std::string &code, const std::string &message) |
A declared tool error: {"error": code, "message": message}. | |
| ToolDefinition | entropic::load_tool_definition (const std::string &tool_name, const std::string &server_prefix, const std::string &data_dir) |
| Load a tool definition from a JSON file. | |
Variables | |
| static auto | logger = entropic::log::get("mcp.tool_base") |
ToolBase implementation, load_tool_definition, and the response-format renderer (gh#203).
Definition in file tool_base.cpp.
|
static |
Definition at line 21 of file tool_base.cpp.