"tools": [ { "type": "function", "async": true, "server": { "url": "https://lnow.app.n8n.cloud/webhook-test/xxx" }, "function": { "name": "isQualified", "parameters": { "type": "object", "properties": { "qualifiedStatus": { "type": "string" } } }, "description": "updates if customer is qualified or not." }, "messages": [ { "type": "request-start", "content": "Great to hear that." }, { "type": "request-complete", "content": "You're qualified" }, { "type": "request-failed", "content": "Have a great day!" }, { "type": "request-response-delayed", "content": "Just 2 seconds...", "timingMilliseconds": 2000 } ] }, { "type": "function", "async": false, "server": { "url": "https://lnow.app.n8n.cloud/webhook-test/yyy" }, "function": { "name": "getAvailability", "parameters": { "type": "object", "properties": { "dateTime": { "type": "string" } } }, "description": "Check if calendar has free slots when customer provides dateTime. Else find free slots." }, "messages": [ { "type": "request-start", "content": "Searching for availability. Please wait..." }, { "type": "request-complete", "content": "Here are available times:" }, { "type": "request-failed", "content": "There is some technical glitch. Please wait." }, { "type": "request-response-delayed", "content": "I am still looking into free slots, please wait...", "timingMilliseconds": 2000 } ] }, { "type": "function", "async": false, "server": { "url": "https://lnow.app.n8n.cloud/webhook-test/zzz" }, "function": { "name": "bookMeeting", "parameters": { "type": "object", "properties": { "dateTime": { "type": "string" } } }, "description": "Book appointment with customer whenever he asks to." }, "messages": [ { "type": "request-start", "content": "Updating the data. Please wait..." }, { "type": "request-complete", "content": "You're booked" }, { "type": "request-failed", "content": "There's some technical issue. Can I send you email?" }, { "type": "request-response-delayed", "content": "There's some technical issue. Can I send you email?", "timingMilliseconds": 2000 } ] } ]