timeline_remove_scheduled_event
Delete a scheduled social media post by providing its event ID to manage content automation workflows across multiple platforms.
Instructions
Remove a scheduled event
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventId | Yes |
Implementation Reference
- timeline-fastmcp.ts:652-668 (handler)The complete tool registration including the handler function that deletes the specified scheduled event from the database using its eventId. It uses the getDb() helper and the events table schema.mcp.addTool({ name: 'timeline_remove_scheduled_event', description: 'Remove a scheduled event', parameters: z.object({ eventId: z.string().uuid() }), execute: async (params) => { const db = await getDb(); await db.delete(events).where(eq(events.id, params.eventId)); return JSON.stringify({ success: true, message: `Event ${params.eventId} removed successfully` }, null, 2); } });