disable_feed_auto_run
Disable automatic feed execution to gain manual control over when job feed updates run, preventing unwanted automated refreshes.
Instructions
Disable automatic runs for a feed. The feed will require manual triggering after this. Use this when you want full control over when a feed runs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedId | Yes | Feed ID to disable auto-run for |
Implementation Reference
- src/index.ts:1004-1019 (handler)The main handler function that disables auto-run for a feed by calling apiClient.updateFeedSchedule with enabled=false
private async disableFeedAutoRun({ feedId }: { feedId: string }) { await this.apiClient.updateFeedSchedule(feedId, false); return { content: [ { type: 'text', text: `⚪ Auto-run disabled **Feed ID**: \`${feedId}\` This feed will no longer run automatically. Use "Trigger Feed Run" to run it manually.`, }, ], }; } - src/index.ts:523-537 (schema)Tool registration including name, description, and input schema defining the feedId parameter
{ name: 'disable_feed_auto_run', description: 'Disable automatic runs for a feed. The feed will require manual triggering after this. Use this when you want full control over when a feed runs.', inputSchema: { type: 'object', properties: { feedId: { type: 'string', description: 'Feed ID to disable auto-run for' } }, required: ['feedId'], additionalProperties: false } }, - src/index.ts:692-694 (registration)Switch case that routes tool calls to the disableFeedAutoRun handler
case 'disable_feed_auto_run': return await this.disableFeedAutoRun(args as any); - src/api-client.ts:92-101 (helper)API client helper method that makes the actual PATCH request to update feed schedule settings
async updateFeedSchedule( feedId: string, enabled: boolean, intervalDays: number = 7 ): Promise<{ message: string; feedId: string; intervalDays: number; nextRunAt: string | null }> { return this.request(`/api/feeds/${feedId}/schedule`, { method: 'PATCH', body: JSON.stringify({ enabled, intervalDays }), }); }