Wraps btw::btw_tools() and registers each returned tool to chat.
If btw is not installed a warning is emitted and nothing is registered.
Arguments
- chat
An
ellmer::Chatobject.- groups
Character vector of group names to include, or
NULLfor all. Valid groups:"agent","cran","docs","env","files","git","github","ide","pkg","sessioninfo","web"."files"is included in the defaultNULL(all groups).
Details
The files group (btw_tool_files_*) is included by default and provides
hashline-validated precise editing – superior to codeagent's own file tools
for read/write/edit operations. codeagent's built-in tools remain for
permission-gated Bash and legacy compatibility.
The skill group is intentionally excluded here; it is registered via
codeagent_client() using .make_skill_tool() which merges btw skills
with codeagent's own skill discovery.