Versions in this module Expand all Collapse all v0 v0.2.0 Jul 14, 2026 v0.1.0 Jun 22, 2026 Changes in this version + type CreateDirectoryTool struct + func NewCreateDirectoryTool(workingDir string) *CreateDirectoryTool + func (t *CreateDirectoryTool) BackfillInput(_ context.Context, in map[string]any) map[string]any + func (t *CreateDirectoryTool) Call(ctx context.Context, input tool.CallInput, permissionCheck types.CanUseToolFn) (tool.CallResult, error) + func (t *CreateDirectoryTool) CheckPermissions(_ context.Context, _ map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *CreateDirectoryTool) Definition() tool.Definition + func (t *CreateDirectoryTool) Description(_ context.Context) (string, error) + func (t *CreateDirectoryTool) FormatResult(data any) string + func (t *CreateDirectoryTool) IsConcurrencySafe(_ map[string]any) bool + func (t *CreateDirectoryTool) IsEnabled() bool + func (t *CreateDirectoryTool) IsReadOnly(_ map[string]any) bool + func (t *CreateDirectoryTool) PreparePermissionMatcher(_ context.Context, _ map[string]any) (func(string) bool, error) + func (t *CreateDirectoryTool) ValidateInput(_ context.Context, in map[string]any) (map[string]any, error) + type DirEntry struct + IsDirectory bool + IsFile bool + IsSymlink bool + Mode string + Name string + SizeBytes int64 + type FileMetadata struct + CreatedAt time.Time + Exists bool + IsDirectory bool + IsFile bool + IsSymlink bool + Mode string + ModifiedAt time.Time + Path string + SizeBytes int64 + SymlinkTarget string + type GetMetadataTool struct + func NewGetMetadataTool(workingDir string) *GetMetadataTool + func (t *GetMetadataTool) BackfillInput(_ context.Context, in map[string]any) map[string]any + func (t *GetMetadataTool) Call(ctx context.Context, input tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error) + func (t *GetMetadataTool) CheckPermissions(_ context.Context, _ map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *GetMetadataTool) Definition() tool.Definition + func (t *GetMetadataTool) Description(_ context.Context) (string, error) + func (t *GetMetadataTool) FormatResult(data any) string + func (t *GetMetadataTool) IsConcurrencySafe(_ map[string]any) bool + func (t *GetMetadataTool) IsEnabled() bool + func (t *GetMetadataTool) IsReadOnly(_ map[string]any) bool + func (t *GetMetadataTool) PreparePermissionMatcher(_ context.Context, _ map[string]any) (func(string) bool, error) + func (t *GetMetadataTool) ValidateInput(_ context.Context, in map[string]any) (map[string]any, error) + type ListDirectoryTool struct + func NewListDirectoryTool(workingDir string) *ListDirectoryTool + func (t *ListDirectoryTool) BackfillInput(_ context.Context, in map[string]any) map[string]any + func (t *ListDirectoryTool) Call(ctx context.Context, input tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error) + func (t *ListDirectoryTool) CheckPermissions(_ context.Context, _ map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *ListDirectoryTool) Definition() tool.Definition + func (t *ListDirectoryTool) Description(_ context.Context) (string, error) + func (t *ListDirectoryTool) FormatResult(data any) string + func (t *ListDirectoryTool) IsConcurrencySafe(_ map[string]any) bool + func (t *ListDirectoryTool) IsEnabled() bool + func (t *ListDirectoryTool) IsReadOnly(_ map[string]any) bool + func (t *ListDirectoryTool) PreparePermissionMatcher(_ context.Context, _ map[string]any) (func(string) bool, error) + func (t *ListDirectoryTool) ValidateInput(_ context.Context, in map[string]any) (map[string]any, error) + type RemoveTool struct + func NewRemoveTool(workingDir string) *RemoveTool + func (t *RemoveTool) BackfillInput(_ context.Context, in map[string]any) map[string]any + func (t *RemoveTool) Call(ctx context.Context, input tool.CallInput, permissionCheck types.CanUseToolFn) (tool.CallResult, error) + func (t *RemoveTool) CheckPermissions(_ context.Context, _ map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *RemoveTool) Definition() tool.Definition + func (t *RemoveTool) Description(_ context.Context) (string, error) + func (t *RemoveTool) FormatResult(data any) string + func (t *RemoveTool) IsConcurrencySafe(_ map[string]any) bool + func (t *RemoveTool) IsEnabled() bool + func (t *RemoveTool) IsReadOnly(_ map[string]any) bool + func (t *RemoveTool) PreparePermissionMatcher(_ context.Context, _ map[string]any) (func(string) bool, error) + func (t *RemoveTool) ValidateInput(_ context.Context, in map[string]any) (map[string]any, error)