devtools-protocol 0.0.1617013 → 0.0.1617982

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30763,6 +30763,23 @@
30763
30763
  "$ref": "Runtime.StackTrace"
30764
30764
  }
30765
30765
  ]
30766
+ },
30767
+ {
30768
+ "id": "RemovedTool",
30769
+ "description": "Definition of a tool that was removed.",
30770
+ "type": "object",
30771
+ "properties": [
30772
+ {
30773
+ "name": "name",
30774
+ "description": "Tool name.",
30775
+ "type": "string"
30776
+ },
30777
+ {
30778
+ "name": "frameId",
30779
+ "description": "Frame identifier associated with the tool registration.",
30780
+ "$ref": "Page.FrameId"
30781
+ }
30782
+ ]
30766
30783
  }
30767
30784
  ],
30768
30785
  "commands": [
@@ -30838,7 +30855,7 @@
30838
30855
  "description": "Array of tools that were removed.",
30839
30856
  "type": "array",
30840
30857
  "items": {
30841
- "$ref": "Tool"
30858
+ "$ref": "RemovedTool"
30842
30859
  }
30843
30860
  }
30844
30861
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1617013",
3
+ "version": "0.0.1617982",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -76,11 +76,19 @@ experimental domain WebMCP
76
76
  # Array of tools that were added.
77
77
  array of Tool tools
78
78
 
79
+ # Definition of a tool that was removed.
80
+ type RemovedTool extends object
81
+ properties
82
+ # Tool name.
83
+ string name
84
+ # Frame identifier associated with the tool registration.
85
+ Page.FrameId frameId
86
+
79
87
  # Event fired when tools are removed.
80
88
  event toolsRemoved
81
89
  parameters
82
90
  # Array of tools that were removed.
83
- array of Tool tools
91
+ array of RemovedTool tools
84
92
 
85
93
  # Event fired when a tool invocation starts.
86
94
  event toolInvoked
@@ -22083,6 +22083,20 @@ export namespace Protocol {
22083
22083
  stackTrace?: Runtime.StackTrace;
22084
22084
  }
22085
22085
 
22086
+ /**
22087
+ * Definition of a tool that was removed.
22088
+ */
22089
+ export interface RemovedTool {
22090
+ /**
22091
+ * Tool name.
22092
+ */
22093
+ name: string;
22094
+ /**
22095
+ * Frame identifier associated with the tool registration.
22096
+ */
22097
+ frameId: Page.FrameId;
22098
+ }
22099
+
22086
22100
  export interface InvokeToolRequest {
22087
22101
  /**
22088
22102
  * Frame in which to invoke the tool.
@@ -22129,7 +22143,7 @@ export namespace Protocol {
22129
22143
  /**
22130
22144
  * Array of tools that were removed.
22131
22145
  */
22132
- tools: Tool[];
22146
+ tools: RemovedTool[];
22133
22147
  }
22134
22148
 
22135
22149
  /**