Enumerate the built-in tools the agent binds by default.
Compiles the agent with an offline placeholder model and reads the bound
tool node. Memory and skills are disabled because they contribute no tools
(they only augment the system prompt). The selected assistant id is still
forwarded so agent-specific subagents are loaded from the same directory the
normal launch path uses. The custom CLI tools are included the same way
server_graph._build_tools adds them, so web_search appears only when
Tavily is configured.
Resolved dcode agent identifier to compile.
Wire the JS interpreter middleware so js_eval
appears when the default agent would bind it. Callers should pass
the resolved runtime setting (see _resolve_enable_interpreter) so
the list matches the tools the agent actually binds.