Releases: punkpeye/fastmcp
Releases · punkpeye/fastmcp
v1.16.1
v1.16.0
v1.15.1
v1.15.0
v1.14.0
v1.13.0
v1.12.0
v1.11.0
1.11.0 (2024-12-31)
You can now define enum
Prompt parameter which will auto-generate complete
handler, e.g.
server.addPrompt({
name: "countryPoem",
description: "Writes a poem about a country",
load: async ({ name }) => {
return `Hello, ${name}!`;
},
arguments: [
{
name: "name",
description: "Name of the country",
required: true,
enum: ["Germany", "France", "Italy"],
},
],
});