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

Function parseRepoMemoryTool

pkg/workflow/tools_parser.go:534–537  ·  view source on GitHub ↗

parseRepoMemoryTool converts raw repo-memory tool configuration

(val any)

Source from the content-addressed store, hash-verified

532
533// parseRepoMemoryTool converts raw repo-memory tool configuration
534func parseRepoMemoryTool(val any) *RepoMemoryToolConfig {
535 // repo-memory can be boolean, object, or array - store raw value
536 return &RepoMemoryToolConfig{Raw: val}
537}
538
539// parseTimeoutTool converts raw timeout tool configuration to a TemplatableInt32 value.
540// Accepts integers and GitHub Actions expressions (e.g. "${{ inputs.tool-timeout }}").

Callers 1

NewToolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected