File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -808,7 +808,7 @@ const App = () => {
808808 const callTool = async (
809809 name : string ,
810810 params : Record < string , unknown > ,
811- metadata ?: Record < string , unknown > ,
811+ toolMetadata ?: Record < string , unknown > ,
812812 ) => {
813813 lastToolCallOriginTabRef . current = currentTabRef . current ;
814814
@@ -822,9 +822,9 @@ const App = () => {
822822 // Merge general metadata with tool-specific metadata
823823 // Tool-specific metadata takes precedence over general metadata
824824 const mergedMetadata = {
825- ...metadata , // General metadata first
825+ ...metadata , // General metadata
826826 progressToken : progressTokenRef . current ++ ,
827- ...( metadata ?? { } ) , // Tool-specific metadata overrides
827+ ...( toolMetadata ?? { } ) , // Tool-specific metadata
828828 } ;
829829
830830 const response = await sendMCPRequest (
You can’t perform that action at this time.
0 commit comments