upload-job-text
Upload job description text to parse and extract structured job data for AI-powered recruitment workflows.
Instructions
Upload a job description as plain text. Returns parsed job data.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Job description text | |
| source | No | Source URL or identifier for the job posting |
Implementation Reference
- src/tools/upload.ts:59-70 (handler)The handler function for the upload-job-text tool.
async (params) => { try { const result = await client.upload.jobText({ text: params.text, source: params.source, }); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } catch (err) { const message = err instanceof Error ? err.message : String(err); return { content: [{ type: "text", text: `Error: ${message}` }], isError: true }; } }, - src/tools/upload.ts:55-58 (schema)The input schema for the upload-job-text tool using zod.
{ text: z.string().describe("Job description text"), source: z.string().optional().describe("Source URL or identifier for the job posting"), }, - src/tools/upload.ts:52-54 (registration)The registration of the upload-job-text tool within the McpServer instance.
server.tool( "upload-job-text", "Upload a job description as plain text. Returns parsed job data.",