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

Method GetFunctionResult

proto/content.pb.go:860–867  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

858}
859
860func (x *ToolResultContent) GetFunctionResult() *FunctionResultContent {
861 if x != nil {
862 if x, ok := x.Type.(*ToolResultContent_FunctionResult); ok {
863 return x.FunctionResult
864 }
865 }
866 return nil
867}
868
869type isToolResultContent_Type interface {
870 isToolResultContent_Type()

Callers 7

protoToContentsFunction · 0.80
displayContentsFunction · 0.80
protoToContentsFunction · 0.80

Calls

no outgoing calls

Tested by 3