Get browser page URL
browser_get_urlRetrieve the current URL of a specific page in a designated browser session. Use the sessionId and pageId returned from earlier actions to target the exact page.
Instructions
Read the current URL of one explicitly addressed page. Use the IDs returned for the intended session; there is no global current page.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"pageId": "<pageId>"
},
"name": "browser_get_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| sessionId | Yes | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| pageId | Yes | ||
| sessionId | Yes | ||
| operationId | Yes |