mailosaur_usage_transactions
Retrieve recent transaction usage for your Mailosaur account using an account-level API key.
Instructions
Retrieve recent transaction usage. Requires an account-level API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:492-500 (registration)Tool 'mailosaur_usage_transactions' is registered via server.tool() with an empty schema and an async handler that calls mailosaur.usage.transactions().
server.tool( "mailosaur_usage_transactions", "Retrieve recent transaction usage. Requires an account-level API key.", {}, async () => { const result = await mailosaur.usage.transactions(); return response(result); } ); - src/index.ts:496-499 (handler)The handler logic for mailosaur_usage_transactions is the inline async arrow function that calls mailosaur.usage.transactions() and returns the result via the response() helper.
async () => { const result = await mailosaur.usage.transactions(); return response(result); } - src/index.ts:79-88 (helper)The response() helper function used by the handler to format the return value as MCP content with JSON-stringified text.
function response(value: unknown) { return { content: [ { type: "text" as const, text: JSON.stringify(value, null, 2) } ] }; }