list_outreaches
View sent outreach emails to recruiters and referrers, filter by job application, and manage email tracking for job applications.
Instructions
List your outreach emails that have been sent to recruiters and referrers.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobApplicationId | No | Filter by job application ID | |
| page | No | Page number (default: 1) | |
| limit | No | Results per page (default: 10, max: 25) |
Implementation Reference
- src/tools/outreach.ts:64-84 (handler)The handler implementation for 'list_outreaches' tool. It calls client.listOutreaches and formats the response.
async (args) => { const result = await client.listOutreaches({ jobApplicationId: args.jobApplicationId, page: args.page || 1, limit: args.limit || 10, }); const response = { count: result.count, outreaches: result.outreaches.map(o => ({ id: o.id, jobApplicationId: o.jobApplicationId, contactName: o.contactName, contactEmail: o.contactEmail, subject: o.subject, status: o.status, sentAt: o.sentAt, createdAt: o.createdAt, })), }; return { content: [{ type: 'text' as const, text: JSON.stringify(response, null, 2) }] }; } - src/tools/outreach.ts:56-63 (registration)Registration of the 'list_outreaches' tool with input schemas.
server.tool( 'list_outreaches', 'List your outreach emails that have been sent to recruiters and referrers.', { jobApplicationId: z.string().optional().describe('Filter by job application ID'), page: z.number().optional().describe('Page number (default: 1)'), limit: z.number().optional().describe('Results per page (default: 10, max: 25)'), },