devtools-protocol 0.0.1608973 → 0.0.1615727

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.
@@ -17096,6 +17096,12 @@
17096
17096
  "description": "WebRTC packetReordering feature.",
17097
17097
  "optional": true,
17098
17098
  "type": "boolean"
17099
+ },
17100
+ {
17101
+ "name": "offline",
17102
+ "description": "True to emulate internet disconnection.",
17103
+ "optional": true,
17104
+ "type": "boolean"
17099
17105
  }
17100
17106
  ]
17101
17107
  },
@@ -17911,6 +17917,7 @@
17911
17917
  "type": "string",
17912
17918
  "enum": [
17913
17919
  "Refreshed",
17920
+ "RefreshedAsWaiter",
17914
17921
  "InitializedService",
17915
17922
  "Unreachable",
17916
17923
  "ServerError",
@@ -17962,7 +17969,8 @@
17962
17969
  "ClearBrowsingData",
17963
17970
  "ServerRequested",
17964
17971
  "InvalidSessionParams",
17965
- "RefreshFatalError"
17972
+ "RefreshFatalError",
17973
+ "DevTools"
17966
17974
  ]
17967
17975
  }
17968
17976
  ]
@@ -18268,7 +18276,15 @@
18268
18276
  "parameters": [
18269
18277
  {
18270
18278
  "name": "offline",
18271
- "description": "True to emulate internet disconnection.",
18279
+ "description": "True to emulate internet disconnection. Deprecated, use the offline property in matchedNetworkConditions\nor emulateOfflineServiceWorker instead.",
18280
+ "deprecated": true,
18281
+ "optional": true,
18282
+ "type": "boolean"
18283
+ },
18284
+ {
18285
+ "name": "emulateOfflineServiceWorker",
18286
+ "description": "True to emulate offline service worker.",
18287
+ "optional": true,
18272
18288
  "type": "boolean"
18273
18289
  },
18274
18290
  {
@@ -18870,6 +18886,17 @@
18870
18886
  }
18871
18887
  ]
18872
18888
  },
18889
+ {
18890
+ "name": "deleteDeviceBoundSession",
18891
+ "description": "Deletes a device bound session.",
18892
+ "experimental": true,
18893
+ "parameters": [
18894
+ {
18895
+ "name": "key",
18896
+ "$ref": "DeviceBoundSessionKey"
18897
+ }
18898
+ ]
18899
+ },
18873
18900
  {
18874
18901
  "name": "fetchSchemefulSite",
18875
18902
  "description": "Fetches the schemeful site for a specific origin.",
@@ -18927,16 +18954,6 @@
18927
18954
  "name": "enableThirdPartyCookieRestriction",
18928
18955
  "description": "Whether 3pc restriction is enabled.",
18929
18956
  "type": "boolean"
18930
- },
18931
- {
18932
- "name": "disableThirdPartyCookieMetadata",
18933
- "description": "Whether 3pc grace period exception should be enabled; false by default.",
18934
- "type": "boolean"
18935
- },
18936
- {
18937
- "name": "disableThirdPartyCookieHeuristics",
18938
- "description": "Whether 3pc heuristics exceptions should be enabled; false by default.",
18939
- "type": "boolean"
18940
18957
  }
18941
18958
  ]
18942
18959
  }
@@ -21641,7 +21658,6 @@
21641
21658
  "encrypted-media",
21642
21659
  "execution-while-out-of-viewport",
21643
21660
  "execution-while-not-rendered",
21644
- "fenced-unpartitioned-storage-read",
21645
21661
  "focus-without-user-activation",
21646
21662
  "fullscreen",
21647
21663
  "frobulate",
@@ -28014,36 +28030,6 @@
28014
28030
  }
28015
28031
  ]
28016
28032
  },
28017
- {
28018
- "name": "getAffectedUrlsForThirdPartyCookieMetadata",
28019
- "description": "Returns the list of URLs from a page and its embedded resources that match\nexisting grace period URL pattern rules.\nhttps://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period",
28020
- "experimental": true,
28021
- "parameters": [
28022
- {
28023
- "name": "firstPartyUrl",
28024
- "description": "The URL of the page currently being visited.",
28025
- "type": "string"
28026
- },
28027
- {
28028
- "name": "thirdPartyUrls",
28029
- "description": "The list of embedded resource URLs from the page.",
28030
- "type": "array",
28031
- "items": {
28032
- "type": "string"
28033
- }
28034
- }
28035
- ],
28036
- "returns": [
28037
- {
28038
- "name": "matchedUrls",
28039
- "description": "Array of matching URLs. If there is a primary pattern match for the first-\nparty URL, only the first-party URL is returned in the array.",
28040
- "type": "array",
28041
- "items": {
28042
- "type": "string"
28043
- }
28044
- }
28045
- ]
28046
- },
28047
28033
  {
28048
28034
  "name": "setProtectedAudienceKAnonymity",
28049
28035
  "parameters": [
@@ -28696,7 +28682,7 @@
28696
28682
  },
28697
28683
  {
28698
28684
  "name": "parentFrameId",
28699
- "description": "Id of the parent frame, only present for the \"iframe\" targets.",
28685
+ "description": "Id of the parent frame, present for \"iframe\" and \"worker\" targets. For nested workers,\nthis is the \"ancestor\" frame that created the first worker in the nested chain.",
28700
28686
  "experimental": true,
28701
28687
  "optional": true,
28702
28688
  "$ref": "Page.FrameId"
@@ -30717,7 +30703,7 @@
30717
30703
  "description": "Represents the status of a tool invocation.",
30718
30704
  "type": "string",
30719
30705
  "enum": [
30720
- "Success",
30706
+ "Completed",
30721
30707
  "Canceled",
30722
30708
  "Error"
30723
30709
  ]
@@ -30777,6 +30763,34 @@
30777
30763
  {
30778
30764
  "name": "disable",
30779
30765
  "description": "Disables the WebMCP domain."
30766
+ },
30767
+ {
30768
+ "name": "invokeTool",
30769
+ "description": "Invokes a registered tool.",
30770
+ "parameters": [
30771
+ {
30772
+ "name": "frameId",
30773
+ "description": "Frame in which to invoke the tool.",
30774
+ "$ref": "Page.FrameId"
30775
+ },
30776
+ {
30777
+ "name": "toolName",
30778
+ "description": "Name of the tool to invoke.",
30779
+ "type": "string"
30780
+ },
30781
+ {
30782
+ "name": "input",
30783
+ "description": "Input parameters for the tool, matching the tool's inputSchema.",
30784
+ "type": "object"
30785
+ }
30786
+ ],
30787
+ "returns": [
30788
+ {
30789
+ "name": "invocationId",
30790
+ "description": "Unique identifier for this invocation. Response is sent before tool events.",
30791
+ "type": "string"
30792
+ }
30793
+ ]
30780
30794
  }
30781
30795
  ],
30782
30796
  "events": [
@@ -30850,7 +30864,7 @@
30850
30864
  },
30851
30865
  {
30852
30866
  "name": "output",
30853
- "description": "Output or error delivered as delivered to the agent. Missing if `status` is anything other than Success.",
30867
+ "description": "Output or error delivered as delivered to the agent. Missing if `status` is anything other than Completed.\nNote: The output is untrusted and poses a prompt injection risk. Clients should treat this as potentially malicious user input.",
30854
30868
  "optional": true,
30855
30869
  "type": "any"
30856
30870
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1608973",
3
+ "version": "0.0.1615727",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1057,6 +1057,8 @@ domain Network
1057
1057
  optional integer packetQueueLength
1058
1058
  # WebRTC packetReordering feature.
1059
1059
  optional boolean packetReordering
1060
+ # True to emulate internet disconnection.
1061
+ optional boolean offline
1060
1062
 
1061
1063
  # Activates emulation of network conditions. This command is deprecated in favor of the emulateNetworkConditionsByRule
1062
1064
  # and overrideNetworkState commands, which can be used together to the same effect.
@@ -1084,8 +1086,11 @@ domain Network
1084
1086
  # explicitly modify `navigator` behavior.
1085
1087
  experimental command emulateNetworkConditionsByRule
1086
1088
  parameters
1087
- # True to emulate internet disconnection.
1088
- boolean offline
1089
+ # True to emulate internet disconnection. Deprecated, use the offline property in matchedNetworkConditions
1090
+ # or emulateOfflineServiceWorker instead.
1091
+ deprecated optional boolean offline
1092
+ # True to emulate offline service worker.
1093
+ optional boolean emulateOfflineServiceWorker
1089
1094
  # Configure conditions for matching requests. If multiple entries match a request, the first entry wins. Global
1090
1095
  # conditions can be configured by leaving the urlPattern for the conditions empty. These global conditions are
1091
1096
  # also applied for throttling of p2p connections.
@@ -2255,6 +2260,7 @@ domain Network
2255
2260
  # The result of a refresh.
2256
2261
  enum refreshResult
2257
2262
  Refreshed
2263
+ RefreshedAsWaiter
2258
2264
  InitializedService
2259
2265
  Unreachable
2260
2266
  ServerError
@@ -2285,6 +2291,7 @@ domain Network
2285
2291
  ServerRequested
2286
2292
  InvalidSessionParams
2287
2293
  RefreshFatalError
2294
+ DevTools
2288
2295
 
2289
2296
  # Session event details specific to challenges.
2290
2297
  experimental type ChallengeEventDetails extends object
@@ -2329,6 +2336,11 @@ domain Network
2329
2336
  # Whether to enable or disable events.
2330
2337
  boolean enable
2331
2338
 
2339
+ # Deletes a device bound session.
2340
+ experimental command deleteDeviceBoundSession
2341
+ parameters
2342
+ DeviceBoundSessionKey key
2343
+
2332
2344
  # Fetches the schemeful site for a specific origin.
2333
2345
  experimental command fetchSchemefulSite
2334
2346
  parameters
@@ -2377,9 +2389,3 @@ domain Network
2377
2389
  parameters
2378
2390
  # Whether 3pc restriction is enabled.
2379
2391
  boolean enableThirdPartyCookieRestriction
2380
-
2381
- # Whether 3pc grace period exception should be enabled; false by default.
2382
- boolean disableThirdPartyCookieMetadata
2383
-
2384
- # Whether 3pc heuristics exceptions should be enabled; false by default.
2385
- boolean disableThirdPartyCookieHeuristics
@@ -123,7 +123,6 @@ domain Page
123
123
  encrypted-media
124
124
  execution-while-out-of-viewport
125
125
  execution-while-not-rendered
126
- fenced-unpartitioned-storage-read
127
126
  focus-without-user-activation
128
127
  fullscreen
129
128
  frobulate
@@ -622,21 +622,6 @@ experimental domain Storage
622
622
  returns
623
623
  array of RelatedWebsiteSet sets
624
624
 
625
- # Returns the list of URLs from a page and its embedded resources that match
626
- # existing grace period URL pattern rules.
627
- # https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
628
- experimental command getAffectedUrlsForThirdPartyCookieMetadata
629
- parameters
630
- # The URL of the page currently being visited.
631
- string firstPartyUrl
632
- # The list of embedded resource URLs from the page.
633
- array of string thirdPartyUrls
634
-
635
- returns
636
- # Array of matching URLs. If there is a primary pattern match for the first-
637
- # party URL, only the first-party URL is returned in the array.
638
- array of string matchedUrls
639
-
640
625
  command setProtectedAudienceKAnonymity
641
626
  parameters
642
627
  string owner
@@ -27,7 +27,8 @@ domain Target
27
27
  experimental boolean canAccessOpener
28
28
  # Frame id of originating window (is only set if target has an opener).
29
29
  experimental optional Page.FrameId openerFrameId
30
- # Id of the parent frame, only present for the "iframe" targets.
30
+ # Id of the parent frame, present for "iframe" and "worker" targets. For nested workers,
31
+ # this is the "ancestor" frame that created the first worker in the nested chain.
31
32
  experimental optional Page.FrameId parentFrameId
32
33
  experimental optional Browser.BrowserContextID browserContextId
33
34
  # Provides additional details for specific target types. For example, for
@@ -21,7 +21,7 @@ experimental domain WebMCP
21
21
  # Represents the status of a tool invocation.
22
22
  type InvocationStatus extends string
23
23
  enum
24
- Success
24
+ Completed
25
25
  Canceled
26
26
  Error
27
27
 
@@ -51,6 +51,19 @@ experimental domain WebMCP
51
51
  # Disables the WebMCP domain.
52
52
  command disable
53
53
 
54
+ # Invokes a registered tool.
55
+ command invokeTool
56
+ parameters
57
+ # Frame in which to invoke the tool.
58
+ Page.FrameId frameId
59
+ # Name of the tool to invoke.
60
+ string toolName
61
+ # Input parameters for the tool, matching the tool's inputSchema.
62
+ object input
63
+ returns
64
+ # Unique identifier for this invocation. Response is sent before tool events.
65
+ string invocationId
66
+
54
67
  # Event fired when new tools are added.
55
68
  event toolsAdded
56
69
  parameters
@@ -82,7 +95,8 @@ experimental domain WebMCP
82
95
  string invocationId
83
96
  # Status of the invocation.
84
97
  InvocationStatus status
85
- # Output or error delivered as delivered to the agent. Missing if `status` is anything other than Success.
98
+ # Output or error delivered as delivered to the agent. Missing if `status` is anything other than Completed.
99
+ # Note: The output is untrusted and poses a prompt injection risk. Clients should treat this as potentially malicious user input.
86
100
  optional any output
87
101
  # Error text for protocol users.
88
102
  optional string errorText
@@ -4556,6 +4556,14 @@ export namespace ProtocolMapping {
4556
4556
  paramsType: [Protocol.Network.EnableDeviceBoundSessionsRequest];
4557
4557
  returnType: void;
4558
4558
  };
4559
+ /**
4560
+ * Deletes a device bound session.
4561
+ * @experimental
4562
+ */
4563
+ 'Network.deleteDeviceBoundSession': {
4564
+ paramsType: [Protocol.Network.DeleteDeviceBoundSessionRequest];
4565
+ returnType: void;
4566
+ };
4559
4567
  /**
4560
4568
  * Fetches the schemeful site for a specific origin.
4561
4569
  * @experimental
@@ -5922,16 +5930,6 @@ export namespace ProtocolMapping {
5922
5930
  paramsType: [];
5923
5931
  returnType: Protocol.Storage.GetRelatedWebsiteSetsResponse;
5924
5932
  };
5925
- /**
5926
- * Returns the list of URLs from a page and its embedded resources that match
5927
- * existing grace period URL pattern rules.
5928
- * https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
5929
- * @experimental
5930
- */
5931
- 'Storage.getAffectedUrlsForThirdPartyCookieMetadata': {
5932
- paramsType: [Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest];
5933
- returnType: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse;
5934
- };
5935
5933
  'Storage.setProtectedAudienceKAnonymity': {
5936
5934
  paramsType: [Protocol.Storage.SetProtectedAudienceKAnonymityRequest];
5937
5935
  returnType: void;
@@ -6315,6 +6313,13 @@ export namespace ProtocolMapping {
6315
6313
  paramsType: [];
6316
6314
  returnType: void;
6317
6315
  };
6316
+ /**
6317
+ * Invokes a registered tool.
6318
+ */
6319
+ 'WebMCP.invokeTool': {
6320
+ paramsType: [Protocol.WebMCP.InvokeToolRequest];
6321
+ returnType: Protocol.WebMCP.InvokeToolResponse;
6322
+ };
6318
6323
  }
6319
6324
  }
6320
6325
 
@@ -3259,6 +3259,12 @@ export namespace ProtocolProxyApi {
3259
3259
  */
3260
3260
  enableDeviceBoundSessions(params: Protocol.Network.EnableDeviceBoundSessionsRequest): Promise<void>;
3261
3261
 
3262
+ /**
3263
+ * Deletes a device bound session.
3264
+ * @experimental
3265
+ */
3266
+ deleteDeviceBoundSession(params: Protocol.Network.DeleteDeviceBoundSessionRequest): Promise<void>;
3267
+
3262
3268
  /**
3263
3269
  * Fetches the schemeful site for a specific origin.
3264
3270
  * @experimental
@@ -4961,14 +4967,6 @@ export namespace ProtocolProxyApi {
4961
4967
  */
4962
4968
  getRelatedWebsiteSets(): Promise<Protocol.Storage.GetRelatedWebsiteSetsResponse>;
4963
4969
 
4964
- /**
4965
- * Returns the list of URLs from a page and its embedded resources that match
4966
- * existing grace period URL pattern rules.
4967
- * https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
4968
- * @experimental
4969
- */
4970
- getAffectedUrlsForThirdPartyCookieMetadata(params: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest): Promise<Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse>;
4971
-
4972
4970
  setProtectedAudienceKAnonymity(params: Protocol.Storage.SetProtectedAudienceKAnonymityRequest): Promise<void>;
4973
4971
 
4974
4972
  /**
@@ -5481,6 +5479,11 @@ export namespace ProtocolProxyApi {
5481
5479
  */
5482
5480
  disable(): Promise<void>;
5483
5481
 
5482
+ /**
5483
+ * Invokes a registered tool.
5484
+ */
5485
+ invokeTool(params: Protocol.WebMCP.InvokeToolRequest): Promise<Protocol.WebMCP.InvokeToolResponse>;
5486
+
5484
5487
  /**
5485
5488
  * Event fired when new tools are added.
5486
5489
  */
@@ -3435,6 +3435,12 @@ export namespace ProtocolTestsProxyApi {
3435
3435
  */
3436
3436
  enableDeviceBoundSessions(params: Protocol.Network.EnableDeviceBoundSessionsRequest): Promise<{id: number, result: void, sessionId: string}>;
3437
3437
 
3438
+ /**
3439
+ * Deletes a device bound session.
3440
+ * @experimental
3441
+ */
3442
+ deleteDeviceBoundSession(params: Protocol.Network.DeleteDeviceBoundSessionRequest): Promise<{id: number, result: void, sessionId: string}>;
3443
+
3438
3444
  /**
3439
3445
  * Fetches the schemeful site for a specific origin.
3440
3446
  * @experimental
@@ -5349,14 +5355,6 @@ export namespace ProtocolTestsProxyApi {
5349
5355
  */
5350
5356
  getRelatedWebsiteSets(): Promise<{id: number, result: Protocol.Storage.GetRelatedWebsiteSetsResponse, sessionId: string}>;
5351
5357
 
5352
- /**
5353
- * Returns the list of URLs from a page and its embedded resources that match
5354
- * existing grace period URL pattern rules.
5355
- * https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
5356
- * @experimental
5357
- */
5358
- getAffectedUrlsForThirdPartyCookieMetadata(params: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest): Promise<{id: number, result: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse, sessionId: string}>;
5359
-
5360
5358
  setProtectedAudienceKAnonymity(params: Protocol.Storage.SetProtectedAudienceKAnonymityRequest): Promise<{id: number, result: void, sessionId: string}>;
5361
5359
 
5362
5360
  /**
@@ -5947,6 +5945,11 @@ export namespace ProtocolTestsProxyApi {
5947
5945
  */
5948
5946
  disable(): Promise<{id: number, result: void, sessionId: string}>;
5949
5947
 
5948
+ /**
5949
+ * Invokes a registered tool.
5950
+ */
5951
+ invokeTool(params: Protocol.WebMCP.InvokeToolRequest): Promise<{id: number, result: Protocol.WebMCP.InvokeToolResponse, sessionId: string}>;
5952
+
5950
5953
  /**
5951
5954
  * Event fired when new tools are added.
5952
5955
  */
@@ -13544,6 +13544,10 @@ export namespace Protocol {
13544
13544
  * WebRTC packetReordering feature.
13545
13545
  */
13546
13546
  packetReordering?: boolean;
13547
+ /**
13548
+ * True to emulate internet disconnection.
13549
+ */
13550
+ offline?: boolean;
13547
13551
  }
13548
13552
 
13549
13553
  /**
@@ -14052,6 +14056,7 @@ export namespace Protocol {
14052
14056
 
14053
14057
  export const enum RefreshEventDetailsRefreshResult {
14054
14058
  Refreshed = 'Refreshed',
14059
+ RefreshedAsWaiter = 'RefreshedAsWaiter',
14055
14060
  InitializedService = 'InitializedService',
14056
14061
  Unreachable = 'Unreachable',
14057
14062
  ServerError = 'ServerError',
@@ -14068,7 +14073,7 @@ export namespace Protocol {
14068
14073
  /**
14069
14074
  * The result of a refresh.
14070
14075
  */
14071
- refreshResult: ('Refreshed' | 'InitializedService' | 'Unreachable' | 'ServerError' | 'RefreshQuotaExceeded' | 'FatalError' | 'SigningQuotaExceeded');
14076
+ refreshResult: ('Refreshed' | 'RefreshedAsWaiter' | 'InitializedService' | 'Unreachable' | 'ServerError' | 'RefreshQuotaExceeded' | 'FatalError' | 'SigningQuotaExceeded');
14072
14077
  /**
14073
14078
  * If there was a fetch attempt, the result of that.
14074
14079
  */
@@ -14098,6 +14103,7 @@ export namespace Protocol {
14098
14103
  ServerRequested = 'ServerRequested',
14099
14104
  InvalidSessionParams = 'InvalidSessionParams',
14100
14105
  RefreshFatalError = 'RefreshFatalError',
14106
+ DevTools = 'DevTools',
14101
14107
  }
14102
14108
 
14103
14109
  /**
@@ -14108,7 +14114,7 @@ export namespace Protocol {
14108
14114
  /**
14109
14115
  * The reason for a session being deleted.
14110
14116
  */
14111
- deletionReason: ('Expired' | 'FailedToRestoreKey' | 'FailedToUnwrapKey' | 'StoragePartitionCleared' | 'ClearBrowsingData' | 'ServerRequested' | 'InvalidSessionParams' | 'RefreshFatalError');
14117
+ deletionReason: ('Expired' | 'FailedToRestoreKey' | 'FailedToUnwrapKey' | 'StoragePartitionCleared' | 'ClearBrowsingData' | 'ServerRequested' | 'InvalidSessionParams' | 'RefreshFatalError' | 'DevTools');
14112
14118
  }
14113
14119
 
14114
14120
  export const enum ChallengeEventDetailsChallengeResult {
@@ -14297,9 +14303,15 @@ export namespace Protocol {
14297
14303
 
14298
14304
  export interface EmulateNetworkConditionsByRuleRequest {
14299
14305
  /**
14300
- * True to emulate internet disconnection.
14306
+ * True to emulate internet disconnection. Deprecated, use the offline property in matchedNetworkConditions
14307
+ * or emulateOfflineServiceWorker instead.
14308
+ * @deprecated
14301
14309
  */
14302
- offline: boolean;
14310
+ offline?: boolean;
14311
+ /**
14312
+ * True to emulate offline service worker.
14313
+ */
14314
+ emulateOfflineServiceWorker?: boolean;
14303
14315
  /**
14304
14316
  * Configure conditions for matching requests. If multiple entries match a request, the first entry wins. Global
14305
14317
  * conditions can be configured by leaving the urlPattern for the conditions empty. These global conditions are
@@ -14697,6 +14709,10 @@ export namespace Protocol {
14697
14709
  enable: boolean;
14698
14710
  }
14699
14711
 
14712
+ export interface DeleteDeviceBoundSessionRequest {
14713
+ key: DeviceBoundSessionKey;
14714
+ }
14715
+
14700
14716
  export interface FetchSchemefulSiteRequest {
14701
14717
  /**
14702
14718
  * The URL origin.
@@ -14736,14 +14752,6 @@ export namespace Protocol {
14736
14752
  * Whether 3pc restriction is enabled.
14737
14753
  */
14738
14754
  enableThirdPartyCookieRestriction: boolean;
14739
- /**
14740
- * Whether 3pc grace period exception should be enabled; false by default.
14741
- */
14742
- disableThirdPartyCookieMetadata: boolean;
14743
- /**
14744
- * Whether 3pc heuristics exceptions should be enabled; false by default.
14745
- */
14746
- disableThirdPartyCookieHeuristics: boolean;
14747
14755
  }
14748
14756
 
14749
14757
  /**
@@ -16563,7 +16571,7 @@ export namespace Protocol {
16563
16571
  * in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
16564
16572
  * @experimental
16565
16573
  */
16566
- export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
16574
+ export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
16567
16575
 
16568
16576
  /**
16569
16577
  * Reason for a permissions policy feature to be disabled.
@@ -20287,25 +20295,6 @@ export namespace Protocol {
20287
20295
  sets: RelatedWebsiteSet[];
20288
20296
  }
20289
20297
 
20290
- export interface GetAffectedUrlsForThirdPartyCookieMetadataRequest {
20291
- /**
20292
- * The URL of the page currently being visited.
20293
- */
20294
- firstPartyUrl: string;
20295
- /**
20296
- * The list of embedded resource URLs from the page.
20297
- */
20298
- thirdPartyUrls: string[];
20299
- }
20300
-
20301
- export interface GetAffectedUrlsForThirdPartyCookieMetadataResponse {
20302
- /**
20303
- * Array of matching URLs. If there is a primary pattern match for the first-
20304
- * party URL, only the first-party URL is returned in the array.
20305
- */
20306
- matchedUrls: string[];
20307
- }
20308
-
20309
20298
  export interface SetProtectedAudienceKAnonymityRequest {
20310
20299
  owner: string;
20311
20300
  name: string;
@@ -20773,7 +20762,8 @@ export namespace Protocol {
20773
20762
  */
20774
20763
  openerFrameId?: Page.FrameId;
20775
20764
  /**
20776
- * Id of the parent frame, only present for the "iframe" targets.
20765
+ * Id of the parent frame, present for "iframe" and "worker" targets. For nested workers,
20766
+ * this is the "ancestor" frame that created the first worker in the nested chain.
20777
20767
  * @experimental
20778
20768
  */
20779
20769
  parentFrameId?: Page.FrameId;
@@ -22053,7 +22043,7 @@ export namespace Protocol {
22053
22043
  /**
22054
22044
  * Represents the status of a tool invocation.
22055
22045
  */
22056
- export type InvocationStatus = ('Success' | 'Canceled' | 'Error');
22046
+ export type InvocationStatus = ('Completed' | 'Canceled' | 'Error');
22057
22047
 
22058
22048
  /**
22059
22049
  * Definition of a tool that can be invoked.
@@ -22089,6 +22079,28 @@ export namespace Protocol {
22089
22079
  stackTrace?: Runtime.StackTrace;
22090
22080
  }
22091
22081
 
22082
+ export interface InvokeToolRequest {
22083
+ /**
22084
+ * Frame in which to invoke the tool.
22085
+ */
22086
+ frameId: Page.FrameId;
22087
+ /**
22088
+ * Name of the tool to invoke.
22089
+ */
22090
+ toolName: string;
22091
+ /**
22092
+ * Input parameters for the tool, matching the tool's inputSchema.
22093
+ */
22094
+ input: any;
22095
+ }
22096
+
22097
+ export interface InvokeToolResponse {
22098
+ /**
22099
+ * Unique identifier for this invocation. Response is sent before tool events.
22100
+ */
22101
+ invocationId: string;
22102
+ }
22103
+
22092
22104
  /**
22093
22105
  * Event fired when new tools are added.
22094
22106
  */
@@ -22144,7 +22156,8 @@ export namespace Protocol {
22144
22156
  */
22145
22157
  status: InvocationStatus;
22146
22158
  /**
22147
- * Output or error delivered as delivered to the agent. Missing if `status` is anything other than Success.
22159
+ * Output or error delivered as delivered to the agent. Missing if `status` is anything other than Completed.
22160
+ * Note: The output is untrusted and poses a prompt injection risk. Clients should treat this as potentially malicious user input.
22148
22161
  */
22149
22162
  output?: any;
22150
22163
  /**