{
  "name": "toolcode",
  "display_name": "Code Tool",
  "description": "Write a tool in JS or Python",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [],
  "properties": [
    {
      "name": "noticeTemplateExample",
      "display_name": "See an example of a conversational agent with custom tool written in JavaScript <a href=",
      "kind": "notice",
      "required": false,
      "default": ""
    },
    {
      "name": "name",
      "display_name": "Name",
      "kind": "string",
      "required": false,
      "default": ""
    },
    {
      "name": "name",
      "display_name": "Name",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The name of the function to be called, could contain letters, numbers, and underscores only"
    },
    {
      "name": "description",
      "display_name": "Description",
      "kind": "string",
      "required": false,
      "default": ""
    },
    {
      "name": "language",
      "display_name": "Language",
      "kind": "options",
      "required": false,
      "default": "javaScript"
    },
    {
      "name": "jsCode",
      "display_name": "JavaScript",
      "kind": "string",
      "required": false,
      "default": "// Example: convert the incoming query to uppercase and return it\\nreturn query.toUpperCase()",
      "description": "E.g. Converts any text to uppercase"
    },
    {
      "name": "pythonCode",
      "display_name": "Python",
      "kind": "string",
      "required": false,
      "default": "# Example: convert the incoming query to uppercase and return it\\nreturn _query.upper()",
      "description": "E.g. Converts any text to uppercase"
    },
    {
      "name": "specifyInputSchema",
      "display_name": "Specify Input Schema",
      "kind": "boolean",
      "required": false,
      "description": "Whether to specify the schema for the function. This would require the LLM to provide the input in the correct format and would validate it against the schema."
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/@n8n/nodes-langchain/nodes/tools/ToolCode/ToolCode.node.ts"
}