Commit 933c35f
fix(kotlin-host): pass tool arguments to callTool instead of empty map
The callTool method was being called with emptyMap() for arguments,
ignoring the parsed input. This caused tools to receive no data.
Fixed both:
- callTool() in the direct tool call flow
- forwardToolCall() for WebView-initiated tool calls
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 9672c87 commit 933c35f
File tree
1 file changed
+21
-2
lines changed- examples/basic-host-kotlin/src/main/kotlin/com/example/mcpappshost
1 file changed
+21
-2
lines changedLines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
225 | 244 | | |
226 | | - | |
| 245 | + | |
227 | 246 | | |
228 | 247 | | |
229 | 248 | | |
| |||
340 | 359 | | |
341 | 360 | | |
342 | 361 | | |
343 | | - | |
| 362 | + | |
344 | 363 | | |
345 | 364 | | |
346 | 365 | | |
| |||
0 commit comments