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
@@ -129,11 +133,11 @@ const server = new McpServer({
129
133
130
134
// Common options schema for all tools
131
135
constcommonOptionsSchema={
132
-
timeout: z.number().optional().default(15000).describe('Maximum web page retrieval time in ms (15000 by default, maximum is 30000).'),
133
-
js: z.boolean().optional().default(true).describe('Execute on-page JavaScript using a headless browser (true by default).'),
134
-
js_timeout: z.number().optional().default(2000).describe('Maximum JavaScript rendering time in ms (2000 by default).'),
136
+
timeout: z.number().optional().default(DEFAULT_TIMEOUT).describe(`Maximum web page retrieval time in ms (${DEFAULT_TIMEOUT} by default, maximum is 30000).`),
137
+
js: z.boolean().optional().default(DEFAULT_JS_RENDERING).describe(`Execute on-page JavaScript using a headless browser (${DEFAULT_JS_RENDERING} by default).`),
138
+
js_timeout: z.number().optional().default(DEFAULT_JS_TIMEOUT).describe(`Maximum JavaScript rendering time in ms (${DEFAULT_JS_TIMEOUT} by default).`),
135
139
wait_for: z.string().optional().describe('CSS selector to wait for before returning the page content.'),
136
-
proxy: z.enum(['datacenter','residential']).optional().default('residential').describe('Type of proxy, datacenter or residential (residential by default).'),
140
+
proxy: z.enum(['datacenter','residential']).optional().default(DEFAULT_PROXY_TYPE).describe(`Type of proxy, datacenter or residential (${DEFAULT_PROXY_TYPE} by default).`),
137
141
country: z.enum(['us','gb','de','it','fr','ca','es','ru','jp','kr','in']).optional().describe('Country of the proxy to use (US by default).'),
138
142
custom_proxy: z.string().optional().describe('Your own proxy URL in "http://user:password@host:port" format.'),
139
143
device: z.enum(['desktop','mobile','tablet']).optional().describe('Type of device emulation.'),
0 commit comments