get_tonight
Find nightlife events happening tonight in your city, including concerts, clubs, and festivals, using local timezone and service-day logic.
Instructions
Get tonight's nightlife events using city timezone and service-day cutoff logic.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | tokyo | |
| genre | No | ||
| area | No | ||
| limit | No | ||
| offset | No |
Implementation Reference
- src/tools/events.ts:189-212 (registration)The 'get_tonight' tool is registered using `server.registerTool` in `src/tools/events.ts`. It utilizes the `searchEvents` service, passing "tonight" as the date argument.
server.registerTool( "get_tonight", { description: "Get tonight's nightlife events using city timezone and service-day cutoff logic.", inputSchema: { city: z.string().default(deps.config.defaultCity), genre: z.string().optional(), area: z.string().optional(), limit: z.number().int().min(1).max(20).default(10), offset: z.number().int().min(0).default(0), }, outputSchema: searchEventsOutputSchema, }, async (args) => runTool( "get_tonight", searchEventsOutputSchema, async () => searchEvents(deps.supabase, deps.config, { ...args, date: "tonight", }), ), );