skilltool

package
v0.4.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package skilltool provides the skill tool, which returns a loaded skill's instructions or one of its files.

Index

Constants

View Source
const ToolName = "skill"

Variables

This section is empty.

Functions

This section is empty.

Types

type Tool

type Tool struct {
	// contains filtered or unexported fields
}

func New

func New(loaded []skills.Skill, maxFileBytes int, home, projectRoot string, blocked *permissions.BlockedPaths, store func() *sessions.Store) *Tool

func (*Tool) Advertise

func (t *Tool) Advertise() tools.Metadata

func (*Tool) Invoke

func (t *Tool) Invoke(ctx context.Context, args map[string]any) (tools.Result, error)

func (*Tool) Name

func (t *Tool) Name() string

func (*Tool) SubjectKind

func (t *Tool) SubjectKind() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL