timeline_remove_scheduled_event
Remove scheduled social media posts and content automation events by event ID to manage your content calendar and workflow organization.
Instructions
Remove a scheduled event
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventId | Yes |
Implementation Reference
- timeline-fastmcp.ts:658-667 (handler)The execute handler function that deletes the scheduled event from the database using the provided eventId and returns a success message.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); }
- timeline-fastmcp.ts:655-657 (schema)Zod schema for the tool input parameters, requiring a UUID string for eventId.parameters: z.object({ eventId: z.string().uuid() }),
- timeline-fastmcp.ts:652-668 (registration)MCP tool registration for timeline_remove_scheduled_event, including name, description, input schema, and inline handler.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); } });