How to view any AI Agent sub-node schema ?
How could we know what schema is expected by the sub-node tools ?
For example MongoDB Find:
I do this in expression: {{ JSON.stringify($agentInfo.tools, null, 2) }}
output:
[
{
"connected": true,
"name": "app_conf",
"type": "MongoDB Tool",
"resource": null,
"operation": null,
"hasCredentials": true,
"aiDefinedFields": [
"Query"
]
}
]
but no matter what i do to tell LLM, it only works if that mongoDB description instruct:
USAGE EXAMPLES
{"name":"<toolName>","args":{"Query__JSON_Format_":{"app":"APP_VALUE","config_name":"CONFIG_VALUE"}}}
if using “Query” or “query” instead of “Query__JSON_Format_”, it just wont work, why ?
n8n/packages/nodes-base/nodes/MongoDb/MongoDbProperties.ts at master · n8n-io/n8n
this become guestwork if I don’t have ways to precisely see what the sub-node is expecting,
how to view expected schema ?
Arent this “Received tool input did not match expected schema” supposedly be taken care by N8N if they want more market share ?
Information on your n8n setup
- n8n version: 1.91.2
- Database (default: SQLite): default container
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker self hosted
- Operating system: container