Custom node appearing as "tool" in regular workflow

Describe the problem/error/question

I have implemented usage as tool in a custom node:

import { IToolNode, IToolDescription } from ‘n8n-workflow’;

export class MyCustomToolNode implements INodeType, IToolNode {
// Normal node properties
description = { … };

// Must implement this for tool functionality
getToolDescription(): IToolDescription {
	return {
		name: 'My Custom Tool',
		description: 'Does something useful',
		properties: [
			{
				displayName: 'Input',
				name: 'input',
				type: 'string',
				default: '',
			},
		],
	};
}

}

and enabled custom node as tool usage. Everything works as expected, but in a regular workflow the node doesn’t appear as square, it appears as a tool.

Any idea what´s causing this?

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • **n8n version:1.100.0
  • **Database (default: SQLite):Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):npm
  • **Operating system:macOS