Exception "Received tool input did not match expected schema" - no name field in subworkflow tool node

Hi guys,

I´ve built an AI agent which is connected to several tools. Many of them are subworkflows. Most of this tool nodes have a “name” field, some of them haven´t (all of them are subworkflows nodes). To me it looks like a bug…

However, the result is that quite often the workflow throws a “Received tool input did not match expected schema” error which might be due to using a wrong tool cause of unclear tool names.

I´m using n8n cloud, Version 1.91.2 (latest stable release).

Does anyone know what might be the reason for that behaviour?

Thanks a lot,
best regards,
Michael

Ok, I think I might have found the reason: Some nodes have “typeVersion”: 2.1 (they have the “name” field") and some have “typeVersion”: 2.2 (without “name” field).