Skip to content
callin.io Agent too...
 
Notifications
Clear all

callin.io Agent tool call exception

4 Posts
2 Users
0 Reactions
4 Views
toown_marker
(@toown_marker)
Posts: 2
New Member
Topic starter
 

Describe the problem/error/question

I invoked the Airtable tool within an Agent using the Gemini API or Claude API, and subsequently encountered an error.

What is the error message (if any)?

Bad request - please check your parameters
Invalid JSON payload received. Unknown name “$schema” at ‘tools[0].function_declarations[0].parameters’: Cannot find field.

Please share your workflow

{
"name": "My workflow 5",
"nodes": [
{
"parameters": {
"options": {}
},
"type": "@callin.io/callin.io-nodes-langchain.chatTrigger",
"typeVersion": 1.1,
"position": [
-440,
-200
],
"id": "2be65cb9-84a5-4c40-893d-2a831ffdf166",
"name": "When chat message received",
"webhookId": "93781d8f-6f9c-4640-8bcc-14051b707821"
},
{
"parameters": {
"promptType": "define",
"text": "{n "chatInput": "{{ $json.chatInput }}",n "sessionId": "{{ $json.sessionId }}"n}",
"options": {
"systemMessage": "… the system will explicitly call the tool."
}
},
"type": "@callin.io/callin.io-nodes-langchain.agent",
"typeVersion": 2,
"position": [
-188,
-200
],
"id": "478e1633-b037-4baf-b2fb-06db6e1455b9",
"name": "AI Agent"
},
{
"parameters": {
"model": {
"rl": true,
"value": "gemini-2.5-pro",
"mode": "list",
"cachedResultName": "gemini-2.5-pro"
},
"options": {}
},
"type": "@callin.io/callin.io-nodes-langchain.lmChatOpenAi",
"typeVersion": 1.2,
"position": [
-220,
20
],
"id": "f1e5f725-044f-4ace-a025-18f7d5bb0718",
"name": "OpenAI Chat Model",
"credentials": {
"openAiApi": {
"id": "IFa6TA96EFxy19Hv",
"name": "OpenAi-gemini"
}
}
},
{
"parameters": {},
"type": "@callin.io/callin.io-nodes-langchain.memoryRedisChat",
"typeVersion": 1.5,
"position": [
-100,
20
],
"id": "fcde2e1c-a2a8-4f43-a8c3-c43b5f5c93a2",
"name": "Redis Chat Memory",
"credentials": {
"redis": {
"id": "efDK1mF6JOAIVnIa",
"name": "Redis account"
}
}
},
{
"parameters": {
"descriptionType": "manual",
"toolDescription": "Searches for world settings in the Airtable database based on a session ID.",
"operation": "search",
"base": {
"
rl": true,
"value": "app2WNRCt38vmKIgM",
"mode": "list",
"cachedResultName": "novel",
"cachedResultUrl": "Airtable"
},
"table": {
"_rl": true,
"value": "tblqGqWAtVTZJ1SUi",
"mode": "list",
"cachedResultName": "world
settings",
"cachedResultUrl": "Airtable"
},
"filterByFormula": "={sessionid} = '{{ $json.sessionId }}'",
"options": {}
},
"type": "callin.io-nodes-base.airtableTool",
"typeVersion": 2.1,
"position": [
20,
20
],
"id": "30a13ff6-f311-4c53-88f4-33266029fb49",
"name": "search
worldsettings",
"notesInFlow": true,
"retryOnFail": true,
"credentials": {
"airtableTokenApi": {
"id": "rmHyilyQL8KWNRwp",
"name": "Airtable Personal Access Token account"
}
},
"notes": "Searches for world settings in the Airtable database based on a session ID."
}
],
"pinData": {},
"connections": {
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai
languageModel": [
[
{
"node": "AI Agent",
"type": "ailanguageModel",
"index": 0
}
]
]
},
"Redis Chat Memory": {
"ai
memory": [
[
{
"node": "AI Agent",
"type": "aimemory",
"index": 0
}
]
]
},
"AI Agent": {
"main": [

]
},
"search
worldsettings": {
"ai
tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "272bf6bd-04cf-4250-8f4c-0c31587ec9a0",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "3c6c664071cc9f99a2744bd62c94f140b1161e6b76c2cd41c525715cf7c03b2d"
},
"id": "eR4Lf6d47JXOKsDV",
"tags":
}

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Bad request - please check your parameters
Invalid JSON payload received. Unknown name “$schema” at ‘tools[0].function_declarations[0].parameters’: Cannot find field.

Information on your callin.io setup

  • callin.io version: v1.98.1
  • Database (default: SQLite): airtable
  • callin.io EXECUTIONS_PROCESS setting (default: own, main):
  • Running callin.io via (Docker, npm, callin.io cloud, desktop app): docker
  • Operating system: macos

Please provide the rewritten markdown content *it should be in the markdown format.

 
Posted : 24/06/2025 3:01 am
Sudhanshu_Sharma
(@sudhanshu_sharma)
Posts: 13
Active Member
 

Hello,

No problem at all, I'll try to help resolve the issue.

However, I kindly request that you share the workflow code in a proper format.

:light_bulb:

Tip: Insert your workflow by clicking ‘</>’ and pasting your workflow's code within the backticks.

This will make it much easier for us to review your workflow, as the current presentation is quite disorganized.

 
Posted : 24/06/2025 7:37 am
toown_marker
(@toown_marker)
Posts: 2
New Member
Topic starter
 
{
“name”: “My workflow 5”,
“nodes”: [
{
“parameters”: {
“options”: {}
},
“type”: “@callin.io/callin.io-nodes-langchain.chatTrigger”,
“typeVersion”: 1.1,
“position”: [
-440,
-200
],
“id”: “2be65cb9-84a5-4c40-893d-2a831ffdf166”,
“name”: “When chat message received”,
“webhookId”: “93781d8f-6f9c-4640-8bcc-14051b707821”
},
{
“parameters”: {
“promptType”: “define”,
“text”: “={
 "chatInput": "{{ $json.chatInput }}",
 "sessionId": "{{ $json.sessionId }}" 
}”,
“options”: {
“systemMessage”: “… the system will explicitly call the tool.”
}
},
“type”: “@callin.io/callin.io-nodes-langchain.agent”,
“typeVersion”: 2,
“position”: [
-188,
-200
],
“id”: “478e1633-b037-4baf-b2fb-06db6e1455b9”,
“name”: “AI Agent”
},
{
“parameters”: {
“model”: {
“__rl”: true,
“value”: “gemini-2.5-pro”,
“mode”: “list”,
“cachedResultName”: “gemini-2.5-pro”
},
“options”: {}
},
“type”: “@callin.io/callin.io-nodes-langchain.lmChatOpenAi”,
“typeVersion”: 1.2,
“position”: [
-220,
20
],
“id”: “f1e5f725-044f-4ace-a025-18f7d5bb0718”,
“name”: “OpenAI Chat Model”,
“credentials”: {
“openAiApi”: {
“id”: “IFa6TA96EFxy19Hv”,
“name”: “OpenAi-gemini”
}
}
},
{
“parameters”: {},
“type”: “@callin.io/callin.io-nodes-langchain.memoryRedisChat”,
“typeVersion”: 1.5,
“position”: [
-100,
20
],
“id”: “fcde2e1c-a2a8-4f43-a8c3-c43b5f5c93a2”,
“name”: “Redis Chat Memory”,
“credentials”: {
“redis”: {
“id”: “efDK1mF6JOAIVnIa”,
“name”: “Redis account”
}
}
},
{
“parameters”: {
“descriptionType”: “manual”,
“toolDescription”: “Searches for world settings in the Airtable database based on a session ID.”,
“operation”: “search”,
“base”: {
“__rl”: true,
“value”: “app2WNRCt38vmKIgM”,
“mode”: “list”,
“cachedResultName”: “novel”,
“cachedResultUrl”: “Airtable”
},
“table”: {
“__rl”: true,
“value”: “tblqGqWAtVTZJ1SUi”,
“mode”: “list”,
“cachedResultName”: “world_settings”,
“cachedResultUrl”: “Airtable”
},
“filterByFormula”: “={session_id} = ‘{{ $json.sessionId }}’”,
“options”: {}
},
“type”: “callin.io-nodes-base.airtableTool”,
“typeVersion”: 2.1,
“position”: [
20,
20
],
“id”: “30a13ff6-f311-4c53-88f4-33266029fb49”,
“name”: “search_world_settings”,
“notesInFlow”: true,
“retryOnFail”: true,
“credentials”: {
“airtableTokenApi”: {
“id”: “rmHyilyQL8KWNRwp”,
“name”: “Airtable Personal Access Token account”
}
},
“notes”: “Searches for world settings in the Airtable database based on a session ID.”
}
],
“pinData”: {},
“connections”: {
“When chat message received”: {
“main”: [
[
{
“node”: “AI Agent”,
“type”: “main”,
“index”: 0
}
]
]
},
“OpenAI Chat Model”: {
“ai_languageModel”: [
[
{
“node”: “AI Agent”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
},
“Redis Chat Memory”: {
“ai_memory”: [
[
{
“node”: “AI Agent”,
“type”: “ai_memory”,
“index”: 0
}
]
]
},
“AI Agent”: {
“main”: [

]
},
“search_world_settings”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
}
},
“active”: false,
“settings”: {
“executionOrder”: “v1”
},
“versionId”: “272bf6bd-04cf-4250-8f4c-0c31587ec9a0”,
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “3c6c664071cc9f99a2744bd62c94f140b1161e6b76c2cd41c525715cf7c03b2d”
},
“id”: “eR4Lf6d47JXOKsDV”,
“tags”: 
}
 
Posted : 25/06/2025 12:53 am
Sudhanshu_Sharma
(@sudhanshu_sharma)
Posts: 13
Active Member
 

It seems the workflow wasn't shared correctly.

Could you please verify it? If the JSON is accurate, it ought to appear as the actual workflow in the preview, rather than just raw JSON.

Please share the workflow properly. I'll assist once I can view it.

Please provide the workflow...

 
Posted : 25/06/2025 1:54 pm
Share: