MCPcopy
hub / github.com/google/ax / Tool

Interface Tool

internal/gemini/gemini.go:149–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149type Tool interface {
150 Name() string
151 FuncDecl() []*genai.Tool
152 SystemPrompt() string
153 HandleCall(ctx context.Context, fc *genai.FunctionCall, o agent.OutputHandler) error
154 HandleExecute(ctx context.Context, fc *genai.FunctionCall, approved bool, o agent.OutputHandler) error
155}
156
157type BashTool struct{}
158

Callers 9

processMethod · 0.65
DiscoverFunction · 0.65
assertMimeCoverageFunction · 0.65
agentsToToolsFunction · 0.65
SystemPromptMethod · 0.65
processMethod · 0.65
HandleExecuteMethod · 0.65
ConnectMethod · 0.65
processMethod · 0.65

Implementers 3

BashToolinternal/gemini/gemini.go
SkillsToolinternal/gemini/gemini.go
NoopToolinternal/gemini/gemini.go

Calls

no outgoing calls

Tested by

no test coverage detected