Skip to content

Commit 10c6c89

Browse files
committed
perf(mcp): Add more specific instruction to the server-level instructions
1 parent b2106e6 commit 10c6c89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scrapling/core/ai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ def _build_server(self, host: str, port: int) -> MCPServer:
942942
7. For browser-based tools, if a `session_id` is provided (from open_session), the browser session will be reused instead of creating a new one.
943943
When using a session, browser-level params (headless, proxy, locale, etc.) are ignored since they were set at session creation time.
944944
8. If you are making multiple requests, use the bulk version of the tool to be more efficient.
945-
9. If you are crawling/browsing a website, be more efficient by using the `css_selector` parameter to only access the parts you are interested in and save money/time.
945+
9. If you are crawling/browsing a website, be more efficient by using the `css_selector` parameter to only access the parts you are interested in and save money/time. Example: use the `a` selector to extract the urls right away.
946946
10. The user can pass a CDP URL to connect to a remote browser session through the `open_session` tool, then use it in the rest of the tools.
947947
""",
948948
}

0 commit comments

Comments
 (0)