MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / FormatLargeResult

Method FormatLargeResult

tools/base.go:172–178  ·  view source on GitHub ↗
(_ context.Context, content string, maxChars int, toolUseID, sessionDir string)

Source from the content-addressed store, hash-verified

170 return out
171}
172
173func jsonFieldName(field reflect.StructField) string {
174 tag := field.Tag.Get("json")
175 if tag == "-" {
176 return ""
177 }
178 name := strings.Split(tag, ",")[0]
179 if name != "" {
180 return name
181 }

Callers

nothing calls this directly

Calls 4

GetConfigFunction · 0.92
charLenFunction · 0.85
ClampToAbsoluteMaxFunction · 0.85
ApplyToolResultBudgetFunction · 0.85

Tested by

no test coverage detected