mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-24 23:32:19 +10:00
feat: implement download_resume_pdf mcp tool
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user