|
Entropic 2.3.8
Local-first agentic inference engine
|
Tool for pruning old messages from context. More...


Public Member Functions | |
| PruneContextTool (ToolDefinition def) | |
| Construct from tool definition. | |
| ServerResponse | execute (const std::string &args_json) override |
| Execute context pruning. | |
Public Member Functions inherited from entropic::ToolBase | |
| ToolBase (ToolDefinition def) | |
| Construct with a pre-built definition. | |
| const std::string & | name () const |
| Get the tool name. | |
| const ToolDefinition & | definition () const |
| Get the full tool definition. | |
| virtual std::string | anchor_key (const std::string &args_json) const |
| Generate anchor key for this tool result. | |
| virtual MCPAccessLevel | required_access_level () const |
| Minimum access level required to execute this tool. | |
Additional Inherited Members | |
Protected Attributes inherited from entropic::ToolBase | |
| ToolDefinition | definition_ |
| Tool definition. | |
Tool for pruning old messages from context.
Definition at line 520 of file entropic_server.cpp.
|
inlineexplicit |
Construct from tool definition.
| def | Tool definition loaded from entropic/prune_context.json. |
Definition at line 527 of file entropic_server.cpp.
|
overridevirtual |
Execute context pruning.
Parse keep_recent and emit prune directive.
| args_json | JSON with optional "keep_recent". |
| args_json | JSON with optional "keep_recent". |
Implements entropic::ToolBase.
Definition at line 546 of file entropic_server.cpp.