|
Entropic 2.14.3
Local-first agentic inference engine
|
Abstract base class for individual MCP tools. More...


Go to the source code of this file.
Classes | |
| struct | entropic::ToolDefinition |
| Parsed tool definition from JSON schema file. More... | |
| class | entropic::ToolBase |
| Abstract base class for individual MCP tools. More... | |
Namespaces | |
| namespace | entropic |
| Activate model on GPU (WARM → ACTIVE). | |
Functions | |
| 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. | |
| 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}. | |
Abstract base class for individual MCP tools.
Each tool owns its definition (name, description, JSON schema) and implements execute(). Tools are registered with a ToolRegistry inside an MCPServerBase.
Definition in file tool_base.h.