You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -47,10 +54,21 @@ export default class MCPService {
47
54
tools: [
48
55
{
49
56
name: MCPToolName.GET_POINTED_ELEMENT,
50
-
description: 'Get information about the currently pointed/shown DOM element from the browser extension, in order to let you see a specific element the user is showing you on his/her the browser.',
57
+
description: 'Get information about the currently pointed/shown DOM element. Control returned payload size with optional textDetail (full|visible|none) and cssLevel (0-3).',
51
58
inputSchema: {
52
59
type: 'object',
53
-
properties: {},
60
+
properties: {
61
+
textDetail: {
62
+
type: 'string',
63
+
enum: [...TEXT_DETAIL_OPTIONS],
64
+
description: 'Controls how much text is returned. full (default) includes hidden text fallback, visible uses only rendered text, none omits text fields.',
65
+
},
66
+
cssLevel: {
67
+
type: 'integer',
68
+
enum: [...CSS_DETAIL_OPTIONS],
69
+
description: 'Controls CSS payload detail. 0 omits CSS, 1 includes layout basics, 2 adds box model, 3 returns the full computed style.',
70
+
},
71
+
},
54
72
required: [],
55
73
},
56
74
},
@@ -60,13 +78,16 @@ export default class MCPService {
0 commit comments