( env: Env, mailboxId: string, threadId: string, )
| 82 | // ── get_thread ───────────────────────────────────────────────────── |
| 83 | |
| 84 | export async function toolGetThread( |
| 85 | env: Env, |
| 86 | mailboxId: string, |
| 87 | threadId: string, |
| 88 | ) { |
| 89 | const stub = getMailboxStub(env, mailboxId); |
| 90 | return getFullThread(stub, threadId); |
| 91 | } |
| 92 | |
| 93 | // ── search_emails ────────────────────────────────────────────────── |
| 94 |
no test coverage detected