delete_label
Remove a label from your FreshRSS feed reader to organize your RSS subscriptions and clean up your interface.
Instructions
Delete a label
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the folder/label to delete |
Implementation Reference
- src/handlers/tag-handlers.ts:124-134 (handler)The tool handler for 'delete_label', which takes a 'name' input and calls 'client.tags.delete(args.name)'.
server.registerTool( 'delete_label', { description: 'Delete a label', inputSchema: deleteTagSchema, }, wrapTool('delete_label', async (args: z.infer<typeof deleteTagSchema>) => { await client.tags.delete(args.name); return textResult(`Deleted label "${args.name}".`); }) ); - src/tools/tag-tools.ts:26-30 (schema)The input schema definition for 'delete_label', requiring a 'name' field.
export const deleteTagSchema = z .object({ name: z.string().describe('Name of the folder/label to delete'), }) .strict();