feat: implement download_resume_pdf mcp tool

This commit is contained in:
Amruth Pillai
2026-06-01 10:26:28 +02:00
parent 9ce5bacd22
commit 0df7f21130
35 changed files with 1951 additions and 1602 deletions
+9
View File
@@ -32,6 +32,15 @@ describe("buildMcpServerCard", () => {
expect(cardToolNames).toEqual(expectedNames);
});
it("advertises a short-lived PDF download URL tool", () => {
const tool = card.tools.find((item) => item.name === "download_resume_pdf");
expect(tool?.title).toBe("Download Resume PDF");
expect(tool?.description).toContain("short-lived");
expect(tool?.description).toContain("10 minutes");
expect(tool?.annotations?.readOnlyHint).toBe(true);
});
it("declares a JSON Schema input for every tool", () => {
for (const tool of card.tools) {
expect(tool.inputSchema, tool.name).toBeDefined();