Act in the agent's browser during a hand-off [write]
Changed onOne action by the caller in the agent's browser, under the same conditions as reading it: {type: "click", x, y} (CSS pixels of the frame), {type: "text", text} (at most 2,000 characters, typed where the focus is), {type: "key", key} (Enter, Tab, Backspace, Escape, the arrows or Space) or {type: "scroll", x, y, deltaY}. Answers the page afterwards.
post/sessions/{id}/browser-handoff
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/sessions/{id}/browser-handoff
- AuthHTTP bearer
Path parameters
idstring required
The session id
Request body
Response
The agent's browser: open: false when none is running, else the page as a JPEG (base64) with its CSS width and height, address and title.
Changes
- info
endpoint added
- info