Skip to content

Commit 40e0fdf

Browse files
authored
docs: fix React UI tool call example
1 parent 192d29f commit 40e0fdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/simple-server/src/ui-react.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function McpClientApp() {
3737
try {
3838
const result = await app.callServerTool({
3939
name: "get-weather",
40-
arguments: { city: "Tokyo" },
40+
arguments: { location: "Tokyo" },
4141
});
4242
setMessages((prev) => [
4343
...prev,

0 commit comments

Comments
 (0)