Documentation
¶
Overview ¶
Package openurl implements a built-in toolset that exposes a single tool which opens a fixed URL in the user's default browser. The URL is baked into the toolset definition (the YAML `url` field), so the model only has to call the tool by name — it never supplies the URL itself.
Opening the URL is delegated to pkg/browser, which picks the right platform helper (open / xdg-open / rundll32), so the tool works across macOS, Linux and Windows.
Index ¶
Constants ¶
View Source
const ToolNameOpenURL = "open_url"
Variables ¶
This section is empty.
Functions ¶
func CreateToolSet ¶
CreateToolSet is used by the tools registry.
Types ¶
Click to show internal directories.
Click to hide internal directories.