Documentation
¶
Overview ¶
Package echotool is the wiring fixture: one tool, `echo`, that returns its input and nothing else. It reads no file, opens no socket and starts no process, so it is the cheapest proof that declaration gating admits a named native toolset, and the cheapest chain step that is not a model call.
Index ¶
Constants ¶
const ToolEcho = "echo"
ToolEcho is the single tool this provider exposes. The name is the HITL policy key; renaming it is a policy change, not a refactor.
const ToolsProviderName = "native-echo"
ToolsProviderName is the tools-provider key this package registers under; the native- prefix is a namespace, not a gate: it keeps a declared MCP source from minting the same key. An allowlist addresses this toolset by that exact name — "*" admits it like any other, "!native-echo" removes it. Policy addresses it as `tools_policies.native-echo`.
Variables ¶
This section is empty.
Functions ¶
func NewTools ¶
func NewTools() taskengine.ToolsRepo
NewTools returns the echo ToolsRepo under ToolsProviderName.
func NewToolsWith ¶
func NewToolsWith(name string) taskengine.ToolsRepo
NewToolsWith is NewTools under an explicit toolset name, for a surface that registers it under another scoped key.
Types ¶
This section is empty.