get_page_info
Retrieves the current tab's URL and title directly from the page to ensure accuracy after navigation.
Instructions
Return the current tab's URL and title.
Reads ``document.title`` and ``location.href`` via ``page.evaluate``
instead of trusting zendriver's cached ``tab.target`` metadata,
which can be stale right after navigation - and on some zendriver
versions ``tab.title`` is a coroutine method, so ``getattr`` would
return the bound method repr string.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_page_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||