Frobs (fnord v0.8.83)
View SourceFrobs are external tool call integrations. They allow users to define external actions that can be executed by the LLM while researching the user's query.
Frobs are stored in $HOME/.fnord/tools/$frob_name and are composed of:
spec.json: A JSON file that defines the tool call's calling semanticsmain: A script or binary that performs the actionavailable: A script or binary that exits non-zero if the frob is notavailable in the current context (e.g. dependencies, environment, etc.)
Enablement via Settings.Frobs:
Frobs are enabled via settings.json using approvals-style arrays managed by Settings.Frobs:
- Global: top-level
frobsarray of names - Project: per-project
projects.<name>.frobsarrays The effective enabled set is the union of global and the currently selected project's list.
Runtime environment: Fnord communicates run-time information to the frob via environment variables:
FNORD_PROJECT# The name of the currently selected projectFNORD_CONFIG# JSON object of project configFNORD_ARGS_JSON# JSON object of LLM-provided arguments