Describe the problem/error/question
Hi, I’m trying to use the langchain code node and can’t make it work with a sub workflow tool. The code is inspired from Quickstart | 🦜️🔗 Langchain
See workflow attached.
What is the error message (if any)?
It seems like the tool is not implemented. When trying to log the result of the custom tool invocation, I received this message:
[
{
"lc": 1,
"type": "not_implemented",
"id": [
"langchain",
"tools",
"DynamicTool"
]
}
]
I’
Please share your workflow
Share the output returned by the last node
[
{
"output": {
"lc": 1,
"type": "constructor",
"id": [
"langchain_core",
"messages",
"AIMessage"
],
"kwargs": {
"content": "",
"additional_kwargs": {
"tool_calls": [
{
"id": "call_Bl7S32df8y4p3DeoQYSg9zpF",
"type": "function",
"function": {
"name": "fetch_linkedin_profile",
"arguments": "{\"input\":\"https://example/result.json\"}"
}
}
]
}
}
}
}
]
```
## Information on your n8n setup
- **n8n version:** 1.38.1
- **Database (default: SQLite):** Postgres
- **n8n EXECUTIONS_PROCESS setting (default: own, main):** Default
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** Docker
- **Operating system:** Debian