extract_codes
Extract OTP codes and verification links from the most recent email in a disposable inbox to complete signup and verification processes.
Instructions
Extract OTP codes and verification links from the most recent email in an inbox. Use this after creating an inbox and receiving a verification/signup email.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox_id | Yes | The inbox ID to extract codes from (uses most recent email) |
Implementation Reference
- mcp-server/src/index.ts:130-133 (handler)Handler implementation for extract_codes tool that calls the blipFetch API.
async ({ inbox_id }) => { const result = await blipFetch(`/v1/inboxes/${inbox_id}/extract`); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } - mcp-server/src/index.ts:122-134 (registration)Tool registration for extract_codes.
server.tool( "extract_codes", "Extract OTP codes and verification links from the most recent email in an inbox. Use this after creating an inbox and receiving a verification/signup email.", { inbox_id: z .string() .describe("The inbox ID to extract codes from (uses most recent email)"), }, async ({ inbox_id }) => { const result = await blipFetch(`/v1/inboxes/${inbox_id}/extract`); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } );