Skip to contents

Tool: Git Branch List

Usage

btw_tool_git_branch_list(include = c("local", "remote", "all"), `_intent` = "")

Arguments

include

Once of "local" (default), "remote", or "all" to filter branches to local branches only, remote branches only, or all branches.

_intent

An optional string describing the intent of the tool use. When the tool is used by an LLM, the model will use this argument to explain why it called the tool.

Value

Returns a character table of branches.

Examples

if (FALSE) { # \dontrun{
btw_tool_git_branch_list()
btw_tool_git_branch_list(local = FALSE)  # remote branches
} # }