Documentation ¶ Index ¶ func ExecTool(cfg *config.Config, args []string, format, sessionID string, approved bool) error func NewCommand(state *runtime.State) *cobra.Command func ValidateTool(cfg *config.Config, command string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ExecTool ¶ func ExecTool(cfg *config.Config, args []string, format, sessionID string, approved bool) error ExecTool executes a tool with the given arguments. approved runs it as user-approved (like the extension bridge after an approval); otherwise --format json reports approval_required instead of running a call the approval policy would gate. func NewCommand ¶ func NewCommand(state *runtime.State) *cobra.Command func ValidateTool ¶ func ValidateTool(cfg *config.Config, command string) error ValidateTool validates if a command is allowed for execution Types ¶ This section is empty. Source Files ¶ View all Source files tools.go Click to show internal directories. Click to hide internal directories.