Documentation
¶
Index ¶
- type ListTool
- func (ListTool) BackfillInput(_ context.Context, input map[string]any) map[string]any
- func (t *ListTool) Call(ctx context.Context, input tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error)
- func (ListTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult
- func (t *ListTool) Definition() tool.Definition
- func (t *ListTool) Description(_ context.Context) (string, error)
- func (ListTool) FormatResult(data any) string
- func (ListTool) IsConcurrencySafe(_ map[string]any) bool
- func (ListTool) IsEnabled() bool
- func (ListTool) IsReadOnly(_ map[string]any) bool
- func (t *ListTool) ValidateInput(_ context.Context, input map[string]any) (map[string]any, error)
- type ReadTool
- func (ReadTool) BackfillInput(_ context.Context, input map[string]any) map[string]any
- func (t *ReadTool) Call(ctx context.Context, input tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error)
- func (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 (ReadTool) FormatResult(data any) string
- func (ReadTool) IsConcurrencySafe(_ map[string]any) bool
- func (ReadTool) IsEnabled() bool
- func (ReadTool) IsReadOnly(_ map[string]any) bool
- func (t *ReadTool) ValidateInput(_ context.Context, input map[string]any) (map[string]any, error)
- type ValidateTool
- func (ValidateTool) BackfillInput(_ context.Context, input map[string]any) map[string]any
- func (t *ValidateTool) Call(ctx context.Context, input tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error)
- func (ValidateTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult
- func (t *ValidateTool) Definition() tool.Definition
- func (t *ValidateTool) Description(_ context.Context) (string, error)
- func (ValidateTool) FormatResult(data any) string
- func (ValidateTool) IsConcurrencySafe(_ map[string]any) bool
- func (ValidateTool) IsEnabled() bool
- func (ValidateTool) IsReadOnly(_ map[string]any) bool
- func (t *ValidateTool) ValidateInput(_ context.Context, input map[string]any) (map[string]any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListTool ¶
type ListTool struct {
// contains filtered or unexported fields
}
ListTool implements seshat_list_skills.
func NewListTool ¶
func NewListTool() *ListTool
func (ListTool) BackfillInput ¶
func (*ListTool) Call ¶
func (t *ListTool) Call(ctx context.Context, input tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error)
func (ListTool) CheckPermissions ¶
func (ListTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult
func (*ListTool) Definition ¶
func (t *ListTool) Definition() tool.Definition
func (ListTool) FormatResult ¶
func (ListTool) IsConcurrencySafe ¶
func (ListTool) IsReadOnly ¶
type ReadTool ¶
type ReadTool struct {
// contains filtered or unexported fields
}
ReadTool implements seshat_read_skill.
func NewReadTool ¶
func NewReadTool() *ReadTool
func (ReadTool) BackfillInput ¶
func (*ReadTool) Call ¶
func (t *ReadTool) Call(ctx context.Context, input tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error)
func (ReadTool) CheckPermissions ¶
func (ReadTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult
func (*ReadTool) Definition ¶
func (t *ReadTool) Definition() tool.Definition
func (ReadTool) FormatResult ¶
func (ReadTool) IsConcurrencySafe ¶
func (ReadTool) IsReadOnly ¶
type ValidateTool ¶
type ValidateTool struct {
// contains filtered or unexported fields
}
ValidateTool implements seshat_validate_skill.
func NewValidateTool ¶
func NewValidateTool() *ValidateTool
func (ValidateTool) BackfillInput ¶
func (*ValidateTool) Call ¶
func (t *ValidateTool) Call(ctx context.Context, input tool.CallInput, _ types.CanUseToolFn) (tool.CallResult, error)
func (ValidateTool) CheckPermissions ¶
func (ValidateTool) CheckPermissions(_ context.Context, input map[string]any, _ tool.ToolUseContext) types.PermissionResult
func (*ValidateTool) Definition ¶
func (t *ValidateTool) Definition() tool.Definition
func (*ValidateTool) Description ¶
func (t *ValidateTool) Description(_ context.Context) (string, error)
func (ValidateTool) FormatResult ¶
func (ValidateTool) IsConcurrencySafe ¶
func (ValidateTool) IsReadOnly ¶
func (*ValidateTool) ValidateInput ¶
Click to show internal directories.
Click to hide internal directories.