mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 16:54:22 +01:00
20 lines
617 B
TypeScript
20 lines
617 B
TypeScript
import { z } from 'zod'
|
|
|
|
export default defineMcpPrompt({
|
|
description: 'Generates a prompt to request and retrieve Arthur Danjou\'s professional resume in the specified language (English or French).',
|
|
inputSchema: {
|
|
lang: z.enum(['en', 'fr']).describe('The language for the resume: \'en\' for English or \'fr\' for French.')
|
|
},
|
|
handler: async ({ lang }) => {
|
|
return {
|
|
messages: [{
|
|
role: 'user',
|
|
content: {
|
|
type: 'text',
|
|
text: `Provide me the link to download Arthur Danjou's resume in ${lang === 'en' ? 'English' : 'French'}.`
|
|
}
|
|
}]
|
|
}
|
|
}
|
|
})
|