MCPcopy
hub / github.com/infinitered/reactotron / textResult

Function textResult

lib/reactotron-mcp/src/tools.ts:65–67  ·  view source on GitHub ↗
(data: unknown, guidance?: string)

Source from the content-addressed store, hash-verified

63}
64
65function textResult(data: unknown, guidance?: string) {
66 return { content: [{ type: "text" as const, text: safeSerialize(data, MAX_RESPONSE_CHARS, guidance) }] }
67}
68
69export function registerTools(
70 mcp: McpServer,

Callers 1

registerToolsFunction · 0.85

Calls 1

safeSerializeFunction · 0.90

Tested by

no test coverage detected