Anchor Browser icon

Anchor Browser

Interact with Anchor Browser API for browser automation and control

OS Level Control → Get Clipboard

AI-generated

Summary

Retrieve the current clipboard content from a specified browser session managed by Anchor Browser.

Inputs

  • Base URL — The base URL for the Anchor Browser API. Defaults to https://api.anchorbrowser.io.
  • Session ID (required) — The ID of the browser session from which to get the clipboard content.

Output shape

a single record

Returns a JSON object containing the clipboard's current content from the specified browser session. Requires providing a valid Session ID for the browser session.

Examples

Example 1: Get clipboard content

Specify the Base URL if different from default and provide the Session ID of the active browser session to retrieve what is currently saved in that session's clipboard.

Discussion