MCPcopy
hub / github.com/sipeed/picoclaw / Name

Method Name

pkg/tools/shared/base.go:11–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9// Tool is the interface that all tools must implement.
10type Tool interface {
11 Name() string
12 Description() string
13 Parameters() map[string]any
14 Execute(ctx context.Context, args map[string]any) *ToolResult

Callers 12

storeInlineDataURLFunction · 0.65
RegisterMethod · 0.65
RegisterHiddenMethod · 0.65
GetSummariesMethod · 0.65
storeBinaryContentMethod · 0.65
ExecuteMethod · 0.65
writeOriginMetaFunction · 0.65
ToolToSchemaFunction · 0.65
formatDirEntriesFunction · 0.65

Implementers 15

mockSearchableToolpkg/tools/search_tools_test.go
SpawnStatusToolpkg/tools/spawn_status.go
SubagentToolpkg/tools/subagent.go
RegexSearchToolpkg/tools/search_tool.go
BM25SearchToolpkg/tools/search_tool.go
SpawnToolpkg/tools/spawn.go
ExecToolpkg/tools/shell.go
CronToolpkg/tools/cron.go
DelegateToolpkg/tools/delegate.go
mockRegistryToolpkg/tools/registry_test.go
mockPanicToolpkg/tools/registry_test.go
mockNilResultToolpkg/tools/registry_test.go

Calls

no outgoing calls