explore-timezones.prompt.tsβ’1.09 kB
import { Injectable } from '@nestjs/common'
import { Prompt } from '@rekog/mcp-nest'
import { z } from 'zod'
@Injectable()
export class ExploreTimezonesPrompt {
@Prompt({
name: 'explore_timezones',
description: 'Get guidance on exploring available timezone regions and cities in the system',
parameters: z.object({}),
})
async execute() {
return {
description: 'Guidance for exploring available timezones',
messages: [
{
role: 'user' as const,
content: {
type: 'text' as const,
text: 'I want to explore the available timezone regions and cities. Can you help me discover what timezones are available in this system?',
},
},
{
role: 'assistant' as const,
content: {
type: 'text' as const,
text: 'I can help you explore timezones! Let me first get all available regions using the get_regions tool, and then you can pick a region to see all cities within it using the get_cities tool.',
},
},
],
}
}
}