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

Function jsonString

agent/agent_tool.go:398–401  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

396}
397
398func jsonString(v any) string {
399 b, _ := json.MarshalIndent(v, "", " ")
400 return string(b)
401}
402
403func serializeTaskResult(value any) any {
404 switch v := value.(type) {

Callers 5

NewTaskListToolFunction · 0.85
NewTaskGetToolFunction · 0.85
NewTaskWaitToolFunction · 0.85
NewTaskStopToolFunction · 0.85
NewSendMessageToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected