Tool Code¶
Node: toolCode · Full type: @n8n/n8n-nodes-langchain.toolCode · Version: 1.3
Parameters¶
| Parameter | Type | Default | Details |
|---|---|---|---|
name |
string | "" | |
description |
string | "" | |
language |
options | "javaScript" | javaScript, python |
jsCode |
string | "// Example: convert the incoming quer..." | |
pythonCode |
string | "# Example: convert the incoming query..." | |
specifyInputSchema |
boolean | false | |
schemaType |
options | "fromJson" | fromJson, manual |
jsonSchemaExample |
json | "{ | |
| "some_input": "some_value" | |||
| }" | |||
inputSchema |
json | "{ | |
| "type": "object", | |||
| "properties": { | |||
| ..." |