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
{{ message }}
Repository navigation
Agent tool to make a browser preview tab the active side-panel tab
#16086
In a T3 Code thread, the side panel can hold several tabs. For example, it can show a markdown file tab and a browser preview tab together.
The t3-code MCP server lets an agent open, navigate, and close browser tabs with preview_open, preview_navigate, and t3_preview_close. No tool lets the agent make a tab the active tab in the side panel. The user must click the browser tab to see it.
Steps to reproduce
Open a markdown file tab in the side panel of a thread.
The agent calls preview_open with url: https://github.com/router-for-me/CLIProxyAPI. The result is tabId: tab_1 and visible: false.
The agent calls preview_open with tabId: tab_1 and open: true. The result is visible: true. The side panel still shows the markdown tab.
The agent calls preview_open with reuseExistingTab: false. This makes a new tab, tab_3, with visible: false. That tab does not get focus either.
Also, visible: true in step 3 does not match the screen. The tab is not on screen, but the tool reports it as visible.
Requested feature
Add a tool that makes a given tab the active tab in the side panel. For example: preview_focus(tabId) or t3_preview_activate(tabId). Alternatively, make preview_open with open: true do this.
Make visible in the preview_open and preview_status results report what the user actually sees on screen.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Problem
In a T3 Code thread, the side panel can hold several tabs. For example, it can show a markdown file tab and a browser preview tab together.
The
t3-codeMCP server lets an agent open, navigate, and close browser tabs withpreview_open,preview_navigate, andt3_preview_close. No tool lets the agent make a tab the active tab in the side panel. The user must click the browser tab to see it.Steps to reproduce
preview_openwithurl: https://github.com/router-for-me/CLIProxyAPI. The result istabId: tab_1andvisible: false.preview_openwithtabId: tab_1andopen: true. The result isvisible: true. The side panel still shows the markdown tab.preview_openwithreuseExistingTab: false. This makes a new tab,tab_3, withvisible: false. That tab does not get focus either.Also,
visible: truein step 3 does not match the screen. The tab is not on screen, but the tool reports it as visible.Requested feature
preview_focus(tabId)ort3_preview_activate(tabId). Alternatively, makepreview_openwithopen: truedo this.visiblein thepreview_openandpreview_statusresults report what the user actually sees on screen.All reactions