delete_folder
Remove a folder or category from FreshRSS to organize your RSS feeds, automatically moving contained feeds to the default location.
Instructions
Delete a folder/category (feeds will be moved to default)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the folder/label to delete |
Implementation Reference
- src/handlers/tag-handlers.ts:118-121 (handler)The handler implementation for the delete_folder tool.
wrapTool('delete_folder', async (args: z.infer<typeof deleteTagSchema>) => { await client.tags.delete(args.name); return textResult(`Deleted folder "${args.name}".`); }) - src/handlers/tag-handlers.ts:112-122 (registration)Registration of the delete_folder tool.
server.registerTool( 'delete_folder', { description: 'Delete a folder/category (feeds will be moved to default)', inputSchema: deleteTagSchema, }, wrapTool('delete_folder', async (args: z.infer<typeof deleteTagSchema>) => { await client.tags.delete(args.name); return textResult(`Deleted folder "${args.name}".`); }) ); - src/tools/tag-tools.ts:26-30 (schema)Zod schema definition for the delete_folder tool input.
export const deleteTagSchema = z .object({ name: z.string().describe('Name of the folder/label to delete'), }) .strict();