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 + const CreateDescription + const CreateDisplayName + const CreateToolName + const EditDescription + const EditDisplayName + const EditToolName + const ExecuteDescription + const ExecuteDisplayName + const ExecuteToolName + const KernelDescription + const KernelDisplayName + const KernelToolName + const ReadDescription + const ReadDisplayName + const ReadToolName + const RunDescription + const RunDisplayName + const RunToolName + const WriteDescription + const WriteDisplayName + const WriteToolName + type CellSpec struct + CellType string + Source string + type CreateTool struct + func NewCreateTool() *CreateTool + func (t *CreateTool) BackfillInput(_ context.Context, input map[string]any) map[string]any + func (t *CreateTool) Call(ctx context.Context, input tool.CallInput, permissionCheck types.CanUseToolFn) (tool.CallResult, error) + func (t *CreateTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *CreateTool) Definition() tool.Definition + func (t *CreateTool) Description(_ context.Context) (string, error) + func (t *CreateTool) FormatResult(data any) string + func (t *CreateTool) IsConcurrencySafe(_ map[string]any) bool + func (t *CreateTool) IsEnabled() bool + func (t *CreateTool) IsReadOnly(_ map[string]any) bool + func (t *CreateTool) ValidateInput(_ context.Context, input map[string]any) (map[string]any, error) + type EditMode string + const EditModeDelete + const EditModeInsert + const EditModeReplace + type EditOp struct + CellID string + CellType string + EditMode EditMode + NewSource string + type EditTool struct + func NewEditTool() *EditTool + func (t *EditTool) BackfillInput(_ context.Context, input map[string]any) map[string]any + func (t *EditTool) Call(ctx context.Context, input tool.CallInput, permissionCheck types.CanUseToolFn) (tool.CallResult, error) + func (t *EditTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *EditTool) Definition() tool.Definition + func (t *EditTool) Description(_ context.Context) (string, error) + func (t *EditTool) FormatResult(data any) string + func (t *EditTool) IsConcurrencySafe(_ map[string]any) bool + func (t *EditTool) IsEnabled() bool + func (t *EditTool) IsReadOnly(_ map[string]any) bool + func (t *EditTool) ValidateInput(_ context.Context, input map[string]any) (map[string]any, error) + type ExecuteTool struct + func NewExecuteTool() *ExecuteTool + func (t *ExecuteTool) BackfillInput(_ context.Context, input map[string]any) map[string]any + func (t *ExecuteTool) Call(ctx context.Context, input tool.CallInput, permissionCheck types.CanUseToolFn) (tool.CallResult, error) + func (t *ExecuteTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *ExecuteTool) Definition() tool.Definition + func (t *ExecuteTool) Description(_ context.Context) (string, error) + func (t *ExecuteTool) FormatResult(data any) string + func (t *ExecuteTool) IsConcurrencySafe(_ map[string]any) bool + func (t *ExecuteTool) IsEnabled() bool + func (t *ExecuteTool) IsReadOnly(_ map[string]any) bool + func (t *ExecuteTool) ValidateInput(_ context.Context, input map[string]any) (map[string]any, error) + type KernelTool struct + func NewKernelTool() *KernelTool + func (t *KernelTool) BackfillInput(_ context.Context, input map[string]any) map[string]any + func (t *KernelTool) Call(ctx context.Context, input tool.CallInput, permissionCheck types.CanUseToolFn) (tool.CallResult, error) + func (t *KernelTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *KernelTool) Definition() tool.Definition + func (t *KernelTool) Description(_ context.Context) (string, error) + func (t *KernelTool) FormatResult(data any) string + func (t *KernelTool) IsConcurrencySafe(_ map[string]any) bool + func (t *KernelTool) IsEnabled() bool + func (t *KernelTool) IsReadOnly(_ map[string]any) bool + func (t *KernelTool) ValidateInput(_ context.Context, input map[string]any) (map[string]any, error) + type ReadTool struct + func NewReadTool() *ReadTool + func (t *ReadTool) BackfillInput(_ context.Context, input map[string]any) map[string]any + func (t *ReadTool) Call(_ context.Context, input tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error) + func (t *ReadTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *ReadTool) Definition() tool.Definition + func (t *ReadTool) Description(_ context.Context) (string, error) + func (t *ReadTool) FormatResult(data any) string + func (t *ReadTool) IsConcurrencySafe(_ map[string]any) bool + func (t *ReadTool) IsEnabled() bool + func (t *ReadTool) IsReadOnly(_ map[string]any) bool + func (t *ReadTool) ValidateInput(_ context.Context, input map[string]any) (map[string]any, error) + type RunTool struct + func NewRunTool() *RunTool + func (t *RunTool) BackfillInput(_ context.Context, input map[string]any) map[string]any + func (t *RunTool) Call(ctx context.Context, input tool.CallInput, permissionCheck types.CanUseToolFn) (tool.CallResult, error) + func (t *RunTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *RunTool) Definition() tool.Definition + func (t *RunTool) Description(_ context.Context) (string, error) + func (t *RunTool) FormatResult(data any) string + func (t *RunTool) IsConcurrencySafe(_ map[string]any) bool + func (t *RunTool) IsEnabled() bool + func (t *RunTool) IsReadOnly(_ map[string]any) bool + func (t *RunTool) ValidateInput(_ context.Context, input map[string]any) (map[string]any, error) + type WriteTool struct + func NewWriteTool() *WriteTool + func (t *WriteTool) BackfillInput(_ context.Context, input map[string]any) map[string]any + func (t *WriteTool) Call(ctx context.Context, input tool.CallInput, permissionCheck types.CanUseToolFn) (tool.CallResult, error) + func (t *WriteTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult + func (t *WriteTool) Definition() tool.Definition + func (t *WriteTool) Description(_ context.Context) (string, error) + func (t *WriteTool) FormatResult(data any) string + func (t *WriteTool) IsConcurrencySafe(_ map[string]any) bool + func (t *WriteTool) IsEnabled() bool + func (t *WriteTool) IsReadOnly(_ map[string]any) bool + func (t *WriteTool) ValidateInput(_ context.Context, input map[string]any) (map[string]any, error)