MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getThread

Method getThread

server/src/addie/thread-service.ts:327–333  ·  view source on GitHub ↗

* Get a thread by ID

(threadId: string)

Source from the content-addressed store, hash-verified

325 * Get a thread by ID
326 */
327 async getThread(threadId: string): Promise<Thread | null> {
328 const result = await query<Thread>(
329 `SELECT * FROM addie_threads WHERE thread_id = $1`,
330 [threadId]
331 );
332 return result.rows[0] || null;
333 }
334
335 /**
336 * Get a thread by channel + external_id

Callers 3

getThreadWithMessagesMethod · 0.95
createTavusRouterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected