Get Current Tab
get_current_tabRetrieve the tab a call without a tab_id will act on: this agent's current tab, or the active tab if none. Use it before changing tabs to avoid targeting the wrong one.
Instructions
Get the tab a call with no tab_id would act on: this agent's current tab, or the active tab if it has none.
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_current_tab"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | Arc tab id from list_tabs. Omit to use this agent's current tab. A tool that changes a tab will not fall back to the tab the user is looking at, so pass this or call open_url first. |