get_events
Retrieve real-time business events including funding rounds, acquisitions, and executive hires. Filter by type, industry, and location to track market developments.
Instructions
Get real-time business events: funding rounds, acquisitions, executive hires, government contracts, and product launches. Filter by type, industry, and location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | Comma-separated: funding, acquisition, hiring, contract, product_launch. Default: all | |
| days | No | Look back days (1-90). Default: 7 | |
| limit | No | Max events (1-200). Default: 50 | |
| industries | No | Comma-separated industries | |
| locations | No | Comma-separated locations |
Implementation Reference
- src/index.ts:203-229 (handler)The 'get_events' tool handler, which calls the '/events' API endpoint with parameters such as types, days, limit, industries, and locations.
case "get_events": { const data = await apiRequest("GET", "/events", { types: (args as any).types, days: (args as any).days, limit: (args as any).limit, industries: (args as any).industries, locations: (args as any).locations, }); const events = data.events || []; if (events.length === 0) { return textResult("No events found matching your filters."); } const summary = events .map((e: any, i: number) => { let detail = `${i + 1}. [${e.type.toUpperCase()}] ${e.title}`; if (e.amount) detail += ` ($${(e.amount / 1_000_000).toFixed(1)}M)`; if (e.series) detail += ` - ${e.series}`; if (e.date) detail += ` | ${e.date}`; return detail; }) .join("\n"); return textResult(`${data.total} events found (showing ${events.length}):\n\n${summary}`); } case "get_market_pulse": { const data = await apiRequest("GET", "/market/pulse"); const p = data.pulse; - src/index.ts:97-112 (schema)The input schema definition for 'get_events', documenting the available parameters like types, days, limit, industries, and locations.
{ name: "get_events", description: "Get real-time business events: funding rounds, acquisitions, executive hires, " + "government contracts, and product launches. Filter by type, industry, and location.", inputSchema: { type: "object" as const, properties: { types: { type: "string", description: "Comma-separated: funding, acquisition, hiring, contract, product_launch. Default: all" }, days: { type: "number", description: "Look back days (1-90). Default: 7" }, limit: { type: "number", description: "Max events (1-200). Default: 50" }, industries: { type: "string", description: "Comma-separated industries" }, locations: { type: "string", description: "Comma-separated locations" }, }, }, },