Provider returned error: {"error":{"code":"1214","message":"tools[5].type:type is illegal"}}

Provider returned error: {“error”:{“code”:“1214”,“message”:“tools[5].type:type is illegal”}}

Hey, this is a known issue. Error 1214 is related to how tool definitions are sent to certain providers. The team is aware.

To help with your specific case, I’ll need a bit more info:

  1. Which model are you using (Claude, GPT, or something else)?
  2. Do you have any MCP servers set up in Cursor Settings > MCP?
  3. Your Cursor version Menu > About Cursor > Copy
  4. The Request ID from the chat where the error happened right upper corner of the chat > Copy Request ID

As a workaround, try switching to a different model and starting a new chat. Sometimes retrying the request helps since routing may send it to a different provider.

Let me know how it goes.