chose
10/14/2025, 8:57 PM"tools": [
{
"name": "note-create",
"title": "Create Note",
"description": "...",
"inputSchema": {
"type": "object",
"properties": {
"content": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"description": "Note content"
},
"relations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"targetEntityId": {
"type": "string",
"description": "ID of the target entity to relate to"
},
"targetEntityType": {
"type": "string",
"enum": [
"customer",
"listing",
"task",
"event",
],
"description": "Type of the target entity"
}
},
"required": [
"targetEntityId",
"targetEntityType"
],
"additionalProperties": false
},
"description": "Relationships to create with the note"
}
},
"required": [
"content"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}
}
]
But after VAPI conversion to tools for Google, we have this:
{
"name": "pinggy-note-create",
"description": "...",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "Note content"
},
"relations": {
"type": "array",
"description": "Relationships to create with the note"
}
},
"required": [
"content"
]
}
}
Section with item is missing and that leads to fail.Vapi Support Bot
10/14/2025, 8:59 PMitems property in your Google tool schema, manually add the items definition to the relations array before sending it to Google. For example:
json
"relations": {
"type": "array",
"description": "Relationships to create with the note",
"items": {
"type": "object",
"properties": {
"targetEntityId": { "type": "string" },
"targetEntityType": { "type": "string", "enum": ["customer", "listing", "task", "event"] }
},
"required": ["targetEntityId", "targetEntityType"],
"additionalProperties": false
}
}
Patch your conversion logic to ensure this structure is preserved when generating the Google tool schema.
Source:
- [Custom LLM Tool Calling Integration](https://docs.vapi.ai/customization/tool-calling-integration)chose
10/14/2025, 9:06 PM{
"id": "d4aa532b-e3c4-49b4-a219-526625bd0611",
"createdAt": "2025-10-14T18:56:49.573Z",
"updatedAt": "2025-10-14T19:44:38.434Z",
"type": "mcp",
"function": {
"name": "mcp_tool_local",
"description": "Provide tools for all operations",
"parameters": {
"type": "object",
"properties": {},
"required": []
}
},
"messages": [
{
"type": "request-start",
"content": "",
"blocking": false
}
],
"metadata": {
"protocol": "shttp"
},
"orgId": "bc95c463-efaf-42e4-965f-c08cf335cc73",
"server": {
"url": "https://nbnienpsbg.a.pinggy.link/mcp/streamable-http",
"timeoutSeconds": 5,
"headers": {...}
}
}Chiranjeet Mishra
10/16/2025, 8:31 PM