Skip to main content
Glama
DrBalls

n8n MCP Server

by DrBalls

n8n_update_tag

Rename existing tags in n8n workflows by providing the tag ID and new name to maintain organized automation systems.

Instructions

Rename an existing tag.

Args:

  • id (string): Tag ID to update

  • name (string): New tag name (max 24 characters)

Returns: The updated tag.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTag ID to update
nameYesNew tag name

Implementation Reference

  • The handler implementation for the n8n_update_tag tool, which uses a PUT request to update an n8n tag by ID.
      server.registerTool(
        'n8n_update_tag',
        {
          title: 'Update n8n Tag',
          description: `Rename an existing tag.
    
    Args:
      - id (string): Tag ID to update
      - name (string): New tag name (max 24 characters)
    
    Returns:
      The updated tag.`,
          inputSchema: UpdateTagSchema,
          annotations: {
            readOnlyHint: false,
            destructiveHint: false,
            idempotentHint: true,
            openWorldHint: false
          }
        },
        async (params: z.infer<typeof UpdateTagSchema>) => {
          const { id, ...updateData } = params;
          const tag = await put<N8nTag>(`/tags/${id}`, updateData);
          
          return {
            content: [{ type: 'text', text: `✅ Tag updated!\n\n${formatTag(tag)}` }],
            structuredContent: tag
          };
        }
      );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DrBalls/n8n-mcp-server-v2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server