Documentation
¶
Overview ¶
Package environment exposes a single read-only tool the model can call to learn which OS and shell will run its shell-tool commands. The tool takes no arguments and returns a fixed shape — reads only runtime.GOOS and the already-detected shell binary — so it earns the ReadOnlyHint auto-approval used by other pure-info tools (git status, filesystem reads, memory reads, …).
Index ¶
Constants ¶
View Source
const (
ToolNameGetEnvironmentInfo = "get_environment_info"
)
Variables ¶
This section is empty.
Functions ¶
func CreateToolSet ¶
CreateToolSet is the registry entry point.
Types ¶
type Args ¶
type Args struct{}
Args intentionally has no fields: the tool must not accept model- or user-steered inputs, so the safety surface is what the code decides to read, not what the caller asks for.
Click to show internal directories.
Click to hide internal directories.