MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / getPayload

Function getPayload

packages/tools/src/definitions/retrieve-chat-evidence.test.ts:65–69  ·  view source on GitHub ↗
(data: unknown)

Source from the content-addressed store, hash-verified

63}
64
65function getPayload(data: unknown): ChatEvidencePayload {
66 const evidence = (data as { evidence?: ChatEvidencePayload })?.evidence
67 assert.ok(evidence, 'data.evidence should exist')
68 return evidence
69}
70
71describe('retrieveChatEvidenceTool schema', () => {
72 it('requires query and exposes evidence params', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected