rename_label
Change the name of a label in FreshRSS to update categorization and improve feed organization.
Instructions
Rename a label
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oldName | Yes | Current name of the folder/label | |
| newName | Yes | New name for the folder/label |
Implementation Reference
- src/handlers/tag-handlers.ts:100-110 (handler)The 'rename_label' tool is registered in the 'registerTagTools' function, where it defines its input schema and provides the handler implementation that calls 'client.tags.rename'.
server.registerTool( 'rename_label', { description: 'Rename a label', inputSchema: renameTagSchema, }, wrapTool('rename_label', async (args: z.infer<typeof renameTagSchema>) => { await client.tags.rename(args.oldName, args.newName); return textResult(`Renamed label "${args.oldName}" to "${args.newName}".`); }) );