Skip to content

MCP Apps: Tool Calling from UI is broken #6454

@khandrew1

Description

@khandrew1

Describe the bug
When trying to call tool from an MCP App, it errors out with

[ { "expected": "record", "code": "invalid_type", "path": [ "structuredContent" ], "message": "Invalid input" } ]

To Reproduce
Steps to reproduce the behavior:

  1. Run the get-time tool from the MCP Apps React Server Example
  2. Click on "Get server time"
  3. Returns with an error

Expected behavior
It should be able to properly call the tool and display the time.

Screenshots
If applicable, add screenshots to help explain your problem.
Image
Image


Please provide the following information

  • OS & Arch: MacOS
  • Interface: UI
  • Version: v1.19.1
  • Provider & Model:: Claude Haiku 4.5

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions