delete_feed
Remove a structured job feed and all related jobs permanently. This action is irreversible.
Instructions
Delete a feed and all associated jobs. This action cannot be undone.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedId | Yes | Feed ID to delete |
Implementation Reference
- src/index.ts:906-922 (handler)Main handler function that validates the feed exists via getFeedDetails, then deletes it via the API client, and returns a success message.
private async deleteFeed({ feedId }: { feedId: string }) { await this.apiClient.getFeedDetails(feedId); await this.apiClient.deleteFeed(feedId); return { content: [ { type: 'text', text: `✅ Feed deleted successfully **Feed ID**: \`${feedId}\` All associated jobs have been removed. This action cannot be undone.`, }, ], }; } - src/index.ts:680-681 (handler)Switch case in tool execution router that routes 'delete_feed' tool calls to the deleteFeed handler method.
case 'delete_feed': return await this.deleteFeed(args as any); - src/index.ts:456-469 (registration)Tool registration defining the 'delete_feed' tool with its name, description, and input schema requiring a feedId string parameter.
{ name: 'delete_feed', description: 'Delete a feed and all associated jobs. This action cannot be undone.', inputSchema: { type: 'object', properties: { feedId: { type: 'string', description: 'Feed ID to delete' } }, required: ['feedId'], additionalProperties: false } - src/api-client.ts:57-59 (helper)API client helper method that makes the HTTP DELETE request to /api/feeds/{feedId} endpoint.
async deleteFeed(feedId: string): Promise<{ message: string }> { return this.request(`/api/feeds/${feedId}`, { method: 'DELETE' }); }