File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,7 +201,6 @@ export type Context = Readonly<{
201201 getExtensionServiceWorkerId (
202202 extensionServiceWorker : ExtensionServiceWorker ,
203203 ) : string | undefined ;
204- getWebMcpTools ( page : ContextPage ) : WebMcpTool [ ] ;
205204} > ;
206205
207206export type ContextPage = Readonly < {
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export const listPages = defineTool(args => {
2828 handler : async ( _request , response ) => {
2929 response . setIncludePages ( true ) ;
3030 response . setListInPageTools ( ) ;
31+ response . setListWebMcpTools ( ) ;
3132 } ,
3233 } ;
3334} ) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const listWebMcpTools = definePageTool({
1111 name : 'list_webmcp_tools' ,
1212 description : `Lists all WebMCP tools the page exposes.` ,
1313 annotations : {
14- category : ToolCategory . IN_PAGE ,
14+ category : ToolCategory . DEBUGGING ,
1515 readOnlyHint : true ,
1616 conditions : [ 'experimentalWebmcp' ] ,
1717 } ,
You can’t perform that action at this time.
0 commit comments