Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.
10
type
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
storeInlineDataURL
Function · 0.65
TestToolRegistry_RegisterAndGet
Function · 0.65
Register
Method · 0.65
RegisterHidden
Method · 0.65
GetSummaries
Method · 0.65
persistLargeTextArtifact
Method · 0.65
storeBinaryContent
Method · 0.65
Execute
Method · 0.65
writeOriginMeta
Function · 0.65
ToolToSchema
Function · 0.65
TestSendFileTool_AllowsWhitelistedMediaTempPath
Function · 0.65
formatDirEntries
Function · 0.65
Implementers
15
mockSearchableTool
pkg/tools/search_tools_test.go
SpawnStatusTool
pkg/tools/spawn_status.go
SubagentTool
pkg/tools/subagent.go
RegexSearchTool
pkg/tools/search_tool.go
BM25SearchTool
pkg/tools/search_tool.go
SpawnTool
pkg/tools/spawn.go
ExecTool
pkg/tools/shell.go
CronTool
pkg/tools/cron.go
DelegateTool
pkg/tools/delegate.go
mockRegistryTool
pkg/tools/registry_test.go
mockPanicTool
pkg/tools/registry_test.go
mockNilResultTool
pkg/tools/registry_test.go
Calls
no outgoing calls
Tested by
2
TestToolRegistry_RegisterAndGet
Function · 0.52
TestSendFileTool_AllowsWhitelistedMediaTempPath
Function · 0.52