Having problems wiring up custom n8n workflow tool to openai assistant. The assistant shows that it is passing in {“query”:{“type”:“layout”}} which would be correct but I am not seeing that in the workflow. I execute the previous nodes but nothing shows up in the workflow tool node.
Open AI Assistant function schema
{
"name": "getSchema",
"description": "Returns an array of layout names if type is layouts or returns an array of objects representing fields on the specified layout if type is fields",
"parameters": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"layouts",
"fields"
],
"description": "Specify 'layouts' to retrieve layout information or 'fields' for field information"
},
"layout": {
"type": "string",
"description": "Specify the layout name; required if 'type' is 'fields'"
}
},
"required": [
"type"
],
"if": {
"properties": {
"type": {
"const": "fields"
}
}
},
"then": {
"required": [
"layout"
]
}
}
}
Information on your n8n setup
- 1.20.0
- Database SQLite)
- n8n EXECUTIONS_PROCESS setting (default: own, main)
- Running n8n via Docker
- Synology NAS