{
  "name": "Requesty Test \u2014 Chat + Agent + Tool",
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "id": "11111111-1111-1111-1111-111111111111",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.4,
      "position": [
        260,
        300
      ]
    },
    {
      "parameters": {
        "options": {
          "systemMessage": "You are a helpful assistant powered by Requesty. You have access to a Calculator tool. Use it whenever the user asks for arithmetic, and explain your reasoning."
        }
      },
      "id": "22222222-2222-2222-2222-222222222222",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        600,
        300
      ]
    },
    {
      "parameters": {
        "model": "openai/gpt-4o-mini",
        "options": {}
      },
      "id": "33333333-3333-3333-3333-333333333333",
      "name": "Requesty Chat Model",
      "type": "@requesty/n8n-nodes-requesty.lmChatRequesty",
      "typeVersion": 1,
      "position": [
        520,
        540
      ]
    },
    {
      "parameters": {},
      "id": "44444444-4444-4444-4444-444444444444",
      "name": "Calculator",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "typeVersion": 1,
      "position": [
        760,
        540
      ]
    }
  ],
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Requesty Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Calculator": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateId": "requesty-test"
  }
}