Skip to main content

context_builder

System catalog id for discovery and primitives. Live tool schemas are built in internal/runtime/context/injection/builtin.go (plus catalog). The package dir internal/modules/context_builder is a stub.

Always / mode-dependent builtins

From builtinToolSpecs() (injection depends on tool_injection mode):

ToolRole
search_toolsThree modes: query (hybrid search), category (list tools in a domain, paginated), no args (list domains). Replaces old list_categories / browse_category tools.
get_toolFull schema for one tool
execute_toolRun a tool by name + params object
run_parallelConcurrent calls via tasks: [{tool, args}, ...] (legacy actions/name/params also accepted)
background_runLaunch / status / wait / cancel / list; also notify_when, wait_for, watch loops, signal, stdin

Conditionally injected

ToolWhen
ask_userAsk-user enabled for the app/agent
call_appCall-app enabled
use_skillSkills enabled
Memory toolsMemory enabled
agent + kvAgent spawn enabled (AgentToolSpec)

kv modes

kv(key, value?), kv(key, delete=true), kv(list=true).

Not separate tools

  • No list_categories / browse_category catalog tools
  • No watch_start family; use background_run(watch=true, ...)
  • No cron_native schedule tools; use scheduler