MCPcopy
hub / github.com/NateBJones-Projects/OB1 / toolSuccess

Function toolSuccess

integrations/enhanced-mcp/index.ts:62–67  ·  view source on GitHub ↗
(text: string, payload: Record<string, unknown>)

Source from the content-addressed store, hash-verified

60// ── Helpers ───────────────────────────────────────────────────────────────
61
62function toolSuccess(text: string, payload: Record<string, unknown>) {
63 return {
64 content: [{ type: "text" as const, text }],
65 structuredContent: payload,
66 };
67}
68
69function toolFailure(message: string) {
70 return {

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…