MCPcopy Create free account
hub / github.com/codeaashu/claude-code / buildCronDeletePrompt

Function buildCronDeletePrompt

src/tools/ScheduleCronTool/prompt.ts:124–128  ·  view source on GitHub ↗
(durableEnabled: boolean)

Source from the content-addressed store, hash-verified

122
123export const CRON_DELETE_DESCRIPTION = 'Cancel a scheduled cron job by ID'
124export function buildCronDeletePrompt(durableEnabled: boolean): string {
125 return durableEnabled
126 ? `Cancel a cron job previously scheduled with ${CRON_CREATE_TOOL_NAME}. Removes it from .claude/scheduled_tasks.json (durable jobs) or the in-memory session store (session-only jobs).`
127 : `Cancel a cron job previously scheduled with ${CRON_CREATE_TOOL_NAME}. Removes it from the in-memory session store.`
128}
129
130export const CRON_LIST_DESCRIPTION = 'List scheduled cron jobs'
131export function buildCronListPrompt(durableEnabled: boolean): string {

Callers 1

promptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected