MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / wrapToolOutput

Function wrapToolOutput

internal/bridge/modules_test.go:114–116  ·  view source on GitHub ↗

Simulated tool output with metadata wrapper (as returned by LLM agent shell tools).

(output string)

Source from the content-addressed store, hash-verified

112
113// Simulated tool output with metadata wrapper (as returned by LLM agent shell tools).
114func wrapToolOutput(output string) string {
115 return fmt.Sprintf("Exit code: 0\nWall time: 1.5 seconds\n\nOutput:\n%s", output)
116}
117
118// ===================================================================
119// Parser unit tests — parseNetstatOutput

Calls

no outgoing calls

Tested by

no test coverage detected