JonathanWebNL

Results 3 comments of JonathanWebNL

If i try that the response is: ```JSON { "content": [ { "type": "text", "text": "[{\"type\":\"text\",\"text\":\"Test response\"},{\"type\":\"resource\",\"resource\":{\"uri\":\"ui:\/\/base\/list-widget\",\"mimeType\":\"text\/html\",\"text\":\"item 1\"}}]" } ], "isError": false } ``` Context: ```PHP return Response::text(json_encode([ [ 'type'...

I'm referring to https://mcpui.dev/guide/introduction Here is Shopify's blog about it: https://shopify.engineering/mcp-ui-breaking-the-text-wall

"Multiple content items of different types" and "Embedded Resources" are part of the MCP spec: https://modelcontextprotocol.info/specification/2024-11-05/server/tools/#tool-result So I feel this should be part of this package.