v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465766489.0 KB

Invokes an operating system-level action on a browser session in Amazon Bedrock AgentCore. This operation provides direct OS-level control over browser sessions, enabling mouse actions, keyboard input, and screenshots that the WebSocket-based Chrome DevTools Protocol (CDP) cannot handle — such as interacting with print dialogs, context menus, and JavaScript alerts.

You send a request with exactly one action in the BrowserAction union, and receive a corresponding result in the BrowserActionResult union.

The following operations are related to InvokeBrowser:

post/browsers/{browserIdentifier}/sessions/invoke#x-amzn-browser-session-id

Path parameters

browserIdentifierstring required

The unique identifier of the browser associated with the session. This must match the identifier used when creating the session with <code>StartBrowserSession</code>.

Headers

x-amzn-browser-session-idstring required

The unique identifier of the browser session on which to perform the action. This must be an active session created with <code>StartBrowserSession</code>.

Request body

Response

Success