Versions in this module Expand all Collapse all v0 v0.2.0 Jul 14, 2026 Changes in this version + var ErrNotImplemented = errors.New("git tools: not implemented — see GitHub issue") + type BranchTool struct + func NewBranchTool() *BranchTool + func (t *BranchTool) BackfillInput(_ context.Context, in map[string]any) map[string]any + func (t *BranchTool) Call(_ context.Context, _ tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error) + func (t *BranchTool) CheckPermissions(_ context.Context, in map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *BranchTool) Definition() tool.Definition + func (t *BranchTool) Description(_ context.Context) (string, error) + func (t *BranchTool) FormatResult(data any) string + func (t *BranchTool) IsConcurrencySafe(_ map[string]any) bool + func (t *BranchTool) IsEnabled() bool + func (t *BranchTool) IsReadOnly(_ map[string]any) bool + func (t *BranchTool) ValidateInput(_ context.Context, in map[string]any) (map[string]any, error) + type CommitTool struct + func NewCommitTool() *CommitTool + func (t *CommitTool) BackfillInput(_ context.Context, in map[string]any) map[string]any + func (t *CommitTool) Call(_ context.Context, _ tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error) + func (t *CommitTool) CheckPermissions(_ context.Context, in map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *CommitTool) Definition() tool.Definition + func (t *CommitTool) Description(_ context.Context) (string, error) + func (t *CommitTool) FormatResult(data any) string + func (t *CommitTool) IsConcurrencySafe(_ map[string]any) bool + func (t *CommitTool) IsEnabled() bool + func (t *CommitTool) IsReadOnly(_ map[string]any) bool + func (t *CommitTool) ValidateInput(_ context.Context, in map[string]any) (map[string]any, error) + type DiffTool struct + func NewDiffTool() *DiffTool + func (t *DiffTool) BackfillInput(_ context.Context, in map[string]any) map[string]any + func (t *DiffTool) Call(_ context.Context, _ tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error) + func (t *DiffTool) CheckPermissions(_ context.Context, in map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *DiffTool) Definition() tool.Definition + func (t *DiffTool) Description(_ context.Context) (string, error) + func (t *DiffTool) FormatResult(data any) string + func (t *DiffTool) IsConcurrencySafe(_ map[string]any) bool + func (t *DiffTool) IsEnabled() bool + func (t *DiffTool) IsReadOnly(_ map[string]any) bool + func (t *DiffTool) ValidateInput(_ context.Context, in map[string]any) (map[string]any, error) + type LogTool struct + func NewLogTool() *LogTool + func (t *LogTool) BackfillInput(_ context.Context, in map[string]any) map[string]any + func (t *LogTool) Call(_ context.Context, _ tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error) + func (t *LogTool) CheckPermissions(_ context.Context, in map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *LogTool) Definition() tool.Definition + func (t *LogTool) Description(_ context.Context) (string, error) + func (t *LogTool) FormatResult(data any) string + func (t *LogTool) IsConcurrencySafe(_ map[string]any) bool + func (t *LogTool) IsEnabled() bool + func (t *LogTool) IsReadOnly(_ map[string]any) bool + func (t *LogTool) ValidateInput(_ context.Context, in map[string]any) (map[string]any, error) + type StatusTool struct + func NewStatusTool() *StatusTool + func (t *StatusTool) BackfillInput(_ context.Context, in map[string]any) map[string]any + func (t *StatusTool) Call(_ context.Context, _ tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error) + func (t *StatusTool) CheckPermissions(_ context.Context, in map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *StatusTool) Definition() tool.Definition + func (t *StatusTool) Description(_ context.Context) (string, error) + func (t *StatusTool) FormatResult(data any) string + func (t *StatusTool) IsConcurrencySafe(_ map[string]any) bool + func (t *StatusTool) IsEnabled() bool + func (t *StatusTool) IsReadOnly(_ map[string]any) bool + func (t *StatusTool) ValidateInput(_ context.Context, in map[string]any) (map[string]any, error)