Optima AI Browser

v0.2.1
io.github.ascaniolocorotondo/optima-ai-browser Checked 4 days ago Published 14 days ago

Browser for AI agents: clean page text, persistent logins, human hand-off for CAPTCHAs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

browser_open

Open a URL in Optima and return the page as clean text. Interactive elements appear as [id kind] label, e.g. [12 button] Sign in. Cookie banners are declined automatically and, if a human check appears, the user is asked to complete it before this returns.

ParameterTypeDescription
url *string

browser_read

Read the current page again (after scrolling, or to get fresh element ids).

ParameterTypeDescription
max_charsintegerDefault 12000.

browser_click

Click an element by id and return the updated page. Purchases, sending/posting and deleting are refused until the user confirms in chat; then retry with confirmed=true.

ParameterTypeDescription
id *stringElement id: the number in [brackets] from the last page read, e.g. "12".
confirmedboolean

browser_type

Type text into a field by id. submit=true presses Enter / submits the form. Password and payment fields are refused: use browser_ask_human for those.

ParameterTypeDescription
id *stringElement id: the number in [brackets] from the last page read, e.g. "12".
text *string
confirmedboolean
submitboolean

browser_select

Choose an option in a <select> by its visible text or value.

ParameterTypeDescription
id *stringElement id: the number in [brackets] from the last page read, e.g. "12".
value *string

browser_scroll

Scroll the page and return what is now visible.

ParameterTypeDescription
directionstring

browser_navigate

Go back, forward, or reload.

ParameterTypeDescription
action *string

browser_screenshot

Take a screenshot of the page. Use only when layout or images matter; browser_read is cheaper.

browser_ask_human

Hand control to the user: brings the window forward, shows a banner with your reason and sends a notification, then waits until they press Done. Use it for logins, passwords, payments, CAPTCHAs, or anything only a person should do. Never try to solve a CAPTCHA yourself.

ParameterTypeDescription
reason *stringShort, in the user's language, e.g. 'log in to your bank'.

browser_wait

Wait up to 30 seconds (for slow pages), then return the page.

ParameterTypeDescription
seconds *number

browser_recent_actions

List the browser actions taken today (the audit log), newest last.

ParameterTypeDescription
limitinteger