The MCP protocol supports returning data in plaintext, which is the content field, and that's the default one that we support. But it also supports responding the tool calls with JSON that is embedded inside the structured content field. Not all the agents support this, but it will be good if R2 MCP was able to respond all the tool calls with the plaintext output in the content field, as well as the JSON result in the structured content.
The MCP protocol supports returning data in plaintext, which is the content field, and that's the default one that we support. But it also supports responding the tool calls with JSON that is embedded inside the structured content field. Not all the agents support this, but it will be good if R2 MCP was able to respond all the tool calls with the plaintext output in the content field, as well as the JSON result in the structured content.