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

Function isEvidenceTool

src/stores/aiChatEvidenceBlocks.ts:11–13  ·  view source on GitHub ↗
(toolName?: string)

Source from the content-addressed store, hash-verified

9export type EvidenceContentBlock = { type: 'evidence'; evidence: ChatEvidencePayload }
10
11export function isEvidenceTool(toolName?: string): boolean {
12 return toolName === RETRIEVE_CHAT_EVIDENCE_TOOL_NAME
13}
14
15function isRecord(value: unknown): value is Record<string, unknown> {
16 return typeof value === 'object' && value !== null && !Array.isArray(value)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected