MCPcopy Create free account
hub / github.com/diillson/chatcli / toolCatalogDeferred

Function toolCatalogDeferred

cli/tool_catalog.go:48–50  ·  view source on GitHub ↗

toolCatalogDeferred reports whether the deferred catalog is active. Read live so /config flips apply to the next prompt build.

()

Source from the content-addressed store, hash-verified

46// toolCatalogDeferred reports whether the deferred catalog is active. Read
47// live so /config flips apply to the next prompt build.
48func toolCatalogDeferred() bool {
49 return strings.ToLower(strings.TrimSpace(os.Getenv(toolCatalogEnvVar))) != "full"
50}
51
52// isCoreTool reports whether name keeps its full inline definition.
53func isCoreTool(name string) bool { return coreToolNames[name] }

Callers 4

getToolContextStringMethod · 0.85
TestToolCatalogEnvSwitchFunction · 0.85
configAgentCatalogMethod · 0.85

Calls

no outgoing calls

Tested by 2

TestToolCatalogEnvSwitchFunction · 0.68