Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
import { z } from 'zod';
import { AGENT_TOOL_DESCRIPTIONS } from '../../src/lib/agent/prompt';
import {
AgentAddJobSchema,
AgentCoverLetterSchema,
AgentGetResumeSchema,
AgentMatchJobSchema,
AgentReviewResumeSchema,
} from '../../src/models/agent.schema';
// The same schemas the chat route registers, so the model sees the exact
// parameter schema and .describe() text the real surface advertises.
export function getTools() {
return [
{
type: 'function',
function: {
name: 'add_job',
description: AGENT_TOOL_DESCRIPTIONS.add_job,
parameters: z.toJSONSchema(AgentAddJobSchema, { io: 'input' }),
},
},
{
type: 'function',
function: {
name: 'get_resume',
description: AGENT_TOOL_DESCRIPTIONS.get_resume,
parameters: z.toJSONSchema(AgentGetResumeSchema, { io: 'input' }),
},
},
{
type: 'function',
function: {
name: 'review_resume',
description: AGENT_TOOL_DESCRIPTIONS.review_resume,
parameters: z.toJSONSchema(AgentReviewResumeSchema, { io: 'input' }),
},
},
{
type: 'function',
function: {
name: 'match_job',
description: AGENT_TOOL_DESCRIPTIONS.match_job,
parameters: z.toJSONSchema(AgentMatchJobSchema, { io: 'input' }),
},
},
{
type: 'function',
function: {
name: 'generate_cover_letter',
description: AGENT_TOOL_DESCRIPTIONS.generate_cover_letter,
parameters: z.toJSONSchema(AgentCoverLetterSchema, { io: 'input' }),
},
},
];
}
export default getTools;