Skip to content

close_page fails with "Unknown page" error even when using page IDs from list_pages #438

@Avngrstark62

Description

@Avngrstark62

Issue Type

Both / Not sure

Operating System

Linux, Windows

Description of the bug

When asking the BrowserOS assistant to close tabs, the action consistently fails with the error:

Internal error in close_page: Unknown page

This happens even when the tab IDs are retrieved directly from list_pages. The assistant repeatedly tries to refresh the tab list and retry the action, but close_page continues to fail.

Expected behavior:
The assistant should be able to close tabs using the IDs returned by list_pages.

Actual behavior:
The browser reports that the page does not exist, even though it was just listed as open.

Steps to Reproduce

  1. Open BrowserOS and open several tabs (e.g., multiple YouTube tabs).
  2. Open Assistant mode.
  3. Ask the assistant to close tabs (e.g., “close all tabs except this one” or “close the first tab”).
  4. The assistant calls list_pages and then attempts close_page.
  5. close_page fails with Internal error in close_page: Unknown page.

Screenshots / Videos

Image
Image

BrowserOS Version

146.0.7818.31

Additional Context

This issue occurs consistently on both Ubuntu and Windows. It randomly worked once but started failing again afterward.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions