n8n_delete_tag
Remove a tag from n8n workflows by specifying its ID to maintain organized automation processes.
Instructions
Delete a tag
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Tag ID to delete |
Implementation Reference
- src/n8n-client.ts:203-206 (handler)Actual implementation of deleting a tag in n8n-client.
async deleteTag(id: string): Promise<any> { const response = await this.client.delete(`/tags/${id}`); return response.data; } - src/index.ts:284-290 (handler)Tool handler for 'n8n_delete_tag' that invokes the n8n client.
case 'n8n_delete_tag': { if (!args?.id) throw new Error('id is required'); const result = await n8nClient.deleteTag(args.id as string); return { content: [{ type: 'text', text: `Tag ${args.id as string} deleted successfully` }], }; } - src/index.ts:750-760 (registration)Tool registration definition for 'n8n_delete_tag'.
{ name: 'n8n_delete_tag', description: 'Delete a tag', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Tag ID to delete' }, }, required: ['id'], }, },