MCPcopy Create free account
hub / github.com/github/gh-aw / parseCacheMemoryTool

Function parseCacheMemoryTool

pkg/workflow/tools_parser.go:522–525  ·  view source on GitHub ↗

parseCacheMemoryTool converts raw cache-memory tool configuration

(val any)

Source from the content-addressed store, hash-verified

520
521// parseCacheMemoryTool converts raw cache-memory tool configuration
522func parseCacheMemoryTool(val any) *CacheMemoryToolConfig {
523 // cache-memory can be boolean, object, or array - store raw value
524 return &CacheMemoryToolConfig{Raw: val}
525}
526
527// parseCommentMemoryTool converts raw comment-memory tool configuration
528func parseCommentMemoryTool(val any) *CommentMemoryToolConfig {

Callers 1

NewToolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected