list_job_hunts
Retrieve saved job searches and view current credits balance to manage your job application tracking efficiently.
Instructions
List your saved job hunts (job searches). Also returns your current credits balance.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| limit | No | Number of results per page (default: 20, max: 50) |
Implementation Reference
- src/tools/job-hunts.ts:23-40 (handler)The implementation of the `list_job_hunts` MCP tool, which calls the `client.listJobHunts` API method and returns the list of job hunts along with credit information.
server.tool( 'list_job_hunts', 'List your saved job hunts (job searches). Also returns your current credits balance.', { page: z.number().optional().describe('Page number (default: 1)'), limit: z.number().optional().describe('Number of results per page (default: 20, max: 50)'), }, async (args) => { const result = await client.listJobHunts(args.page || 1, args.limit || 20); const response = { count: result.jobHunts.length, jobHunts: result.jobHunts.map(formatJobHunt), credits: result.autoApplyQuota, creditsRemaining: result.autoApplyQuotaRemaining, }; return { content: [{ type: 'text' as const, text: JSON.stringify(response, null, 2) }] }; } );