@@ -460,12 +460,12 @@ Host SHOULD add the message to the conversation thread, preserving the specified
460460
461461#### Notifications (Host → UI)
462462
463- ` ui/notifications/tool-inputs ` - Host MUST send this notification with the complete tool arguments after the Guest UI's initialize request completes.
463+ ` ui/notifications/tool-input ` - Host MUST send this notification with the complete tool arguments after the Guest UI's initialize request completes.
464464
465465``` json
466466{
467467 "jsonrpc" : " 2.0" ,
468- "method" : " ui/notifications/tool-inputs " ,
468+ "method" : " ui/notifications/tool-input " ,
469469 "params" : {
470470 "arguments" : " Record<string, unknown>" // Tool input arguments
471471 }
@@ -474,12 +474,12 @@ Host SHOULD add the message to the conversation thread, preserving the specified
474474
475475Host sends this notification after the Guest UI's initialize request completes, when tool arguments become available. This notification is sent at most once and is required before sending ` ui/tool-result ` .
476476
477- ` ui/tool-inputs -partial ` - Host MAY send this notification zero or more times while the agent is streaming tool arguments, before ` ui/tool-inputs ` is sent.
477+ ` ui/notifications/ tool-input -partial ` - Host MAY send this notification zero or more times while the agent is streaming tool arguments, before ` ui/notifications/ tool-input ` is sent.
478478
479479``` json
480480{
481481 "jsonrpc" : " 2.0" ,
482- "method" : " ui/tool-inputs -partial" ,
482+ "method" : " ui/notifications/ tool-input -partial" ,
483483 "params" : {
484484 "arguments" : " Record<string, unknown>" // Tool input arguments
485485 }
@@ -490,7 +490,7 @@ The arguments object represents best-effort recovery of incomplete JSON, with un
490490
491491- MAY parse the agent's partial JSON output by closing unclosed brackets/braces
492492- MAY send recovered arguments as they become available during streaming
493- - MUST stop sending once ` ui/tool-inputs ` is sent with complete arguments
493+ - MUST stop sending once ` ui/notifications/ tool-input ` is sent with complete arguments
494494
495495Guest UI behavior (optional):
496496
@@ -656,9 +656,9 @@ sequenceDiagram
656656 H -->> UI: InitializeResult (e.g., host-context, capabilities, etc.)
657657 UI ->> H: notifications/initialized
658658 opt Stream Tool input to UI
659- H -->> UI: ui/notifications/tool-inputs -partial (0..n)
659+ H -->> UI: ui/notifications/tool-input -partial (0..n)
660660 end
661- H -->> UI: ui/notifications/tool-inputs (complete)
661+ H -->> UI: ui/notifications/tool-input (complete)
662662 end
663663 alt Tool complete
664664 H -->> UI: ui/notifications/tool-result
@@ -683,9 +683,9 @@ sequenceDiagram
683683 UI ->> H: tools/call
684684 H ->> S: tools/call
685685 opt Stream Tool input to UI
686- H -->> UI: ui/notifications/tool-inputs -partial (0..n)
686+ H -->> UI: ui/notifications/tool-input -partial (0..n)
687687 end
688- H -->> UI: ui/notifications/tool-inputs (complete)
688+ H -->> UI: ui/notifications/tool-input (complete)
689689 H-->>UI: ui/notifications/tool-result
690690 else Message
691691 UI ->> H: ui/message
@@ -732,7 +732,7 @@ Note: Cleanup may be triggered at any point in the lifecycle following UI initia
732732
733733Tool execution results are passed to the UI through two mechanisms:
734734
735- #### 1. Tool Input (via ui/notifications/tool-inputs notification)
735+ #### 1. Tool Input (via ui/notifications/tool-input notification)
736736
737737The original tool call arguments:
738738
@@ -741,7 +741,7 @@ The original tool call arguments:
741741tools / call (" get_weather" , { location: " San Francisco" })
742742
743743// UI receives:
744- notification : ui / tool - inputs
744+ notification : ui / notifications / tool - input
745745params : {
746746 arguments : { location : " San Francisco" }
747747}
0 commit comments