|
Entropic 2.11.1
Local-first agentic inference engine
|
Tool for multi-stage delegation pipelines. More...


Public Member Functions | |
| PipelineTool (ToolDefinition def, const std::vector< std::string > &tier_names) | |
| Construct and patch input schema with tier names. | |
| ServerResponse | execute (const std::string &args_json) override |
| Execute pipeline setup. | |
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 multi-stage delegation pipelines.
@dg_internal
Definition at line 298 of file entropic_server.cpp.
| entropic::PipelineTool::PipelineTool | ( | ToolDefinition | def, |
| const std::vector< std::string > & | tier_names | ||
| ) |
Construct and patch input schema with tier names.
Construct and patch stage enum in input schema.
| def | Tool definition loaded from entropic/pipeline.json. |
| tier_names | Available tier names for enum patching. @dg_internal |
The tier list is kept as a member as well as patched into the schema, so stages are re-validated at execute time rather than trusting the model to have honoured the enum.
| def | Tool definition. |
| tier_names | Tier names for stages enum. @req REQ-MCP-024 @req REQ-MCP-013 |
Definition at line 336 of file entropic_server.cpp.
|
overridevirtual |
Execute pipeline setup.
Parse pipeline args, validate stages, emit directives.
| args_json | JSON with "stages" array and "task". |
gh#129 (v2.10.0): each stage is validated against tier_names_ before any directive is emitted. Unknown tier names are rejected with a plain error string naming the offending stage and the valid options.
| args_json | JSON with "stages" and "task". |
Implements entropic::ToolBase.
Definition at line 365 of file entropic_server.cpp.