oassis — web scraping, crawling and browser control for AI agents
v1.0.2Web Tools and Web Tasks for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
web_scrape
Processes a page and returns every output you ask for at once: markdown, html, links, screenshot, PDF, accessibility tree, elements by selector, AI-structured data, and `controls` (what can be clicked). One call, and a partial failure does not void the rest. From 1 credit ($0.002) per output. A url pointing at a PDF, Word, Excel or CSV file is converted to markdown instead, with no browser, for $0.002. Reference for the oassis API: https://oassis.dev/openapi.json
| Parameter | Type | Description |
|---|---|---|
binaryAs | string | How a screenshot or a PDF comes back. `base64` is the only value today. |
block | object | What not to load, which makes a render faster and cheaper. `resourceTypes` takes image, font, stylesheet, media… and `urlPatterns` are regular expressions, not globs: `\.svg$`, not `*.svg`. |
controls | object | Options for the `controls` format: `visibleOnly`, and `limit` (1 to 1000) to cut the map. |
formats | array | Outputs you want in the same response. `controls` is the map of what can be clicked; `elements` needs `selectors`; `json` needs `json.prompt` or `json.schema`. |
html | string | Raw HTML instead of `url`, for a page you already have. Nothing leaves for the network. |
json | object | For the `json` format: a `prompt` describing what to pull out, a JSON `schema` to fill, or both. |
links | object | Options for the `links` format: `visibleOnly`, `excludeExternal` to keep only internal links. |
maxAge | integer | Accept an answer up to this many milliseconds old. A cache hit costs $0.0002 instead of the format price. Leave it out to force a fresh render. |
pdf | object | Options for the `pdf` format: `format` (a4, letter, legal…), `landscape`, `printBackground`, `scale` 0.1 to 2. |
request | object | How to make the request: `headers`, `cookies`, `userAgent`, and `auth` for basic authentication. |
screenshot | object | Options for the `screenshot` format: `fullPage` for the whole page, `type` (png, jpeg, webp), `quality` 1-100 (not with png), `omitBackground`, `selector` to capture one element, and its own `viewport… |
selectors | array | CSS selectors for the `elements` format. |
url | string | Page to process. |
viewport | object | The window to render in: `width`, `height`, `deviceScaleFactor`. |
wait | object | When to consider the page loaded: `until` (load, domcontentloaded, networkidle0, networkidle2), `selector` to wait for, `timeout` in ms. |
web_session_open
Opens a browser session and returns the map of controls. Opening costs 2.5 credits plus the requested outputs; the first minute is included. Further started minutes cost 2 credits with an account key. Use web_act to interact and web_session_close when done. API key and credits required. Reference: https://oassis.dev/openapi.json
| Parameter | Type | Description |
|---|---|---|
url * | string | Page to process. |
binaryAs | string | How a screenshot or a PDF comes back. `base64` is the only value today. |
block | object | What not to load, which makes a render faster and cheaper. `resourceTypes` takes image, font, stylesheet, media… and `urlPatterns` are regular expressions, not globs: `\.svg$`, not `*.svg`. |
controls | object | Options for the `controls` format: `visibleOnly`, and `limit` (1 to 1000) to cut the map. |
formats | array | Outputs you want in the same response. `controls` is the map of what can be clicked; `elements` needs `selectors`; `json` needs `json.prompt` or `json.schema`. |
json | object | For the `json` format: a `prompt` describing what to pull out, a JSON `schema` to fill, or both. |
links | object | Options for the `links` format: `visibleOnly`, `excludeExternal` to keep only internal links. |
maxAge | integer | Accept an answer up to this many milliseconds old. A cache hit costs $0.0002 instead of the format price. Leave it out to force a fresh render. |
pdf | object | Options for the `pdf` format: `format` (a4, letter, legal…), `landscape`, `printBackground`, `scale` 0.1 to 2. |
request | object | How to make the request: `headers`, `cookies`, `userAgent`, and `auth` for basic authentication. |
screenshot | object | Options for the `screenshot` format: `fullPage` for the whole page, `type` (png, jpeg, webp), `quality` 1-100 (not with png), `omitBackground`, `selector` to capture one element, and its own `viewport… |
selectors | array | CSS selectors for the `elements` format. |
viewport | object | The window to render in: `width`, `height`, `deviceScaleFactor`. |
wait | object | When to consider the page loaded: `until` (load, domcontentloaded, networkidle0, networkidle2), `selector` to wait for, `timeout` in ms. |
web_act
Runs actions against an open session and returns the resulting state. Actions: {navigate}, {click:{ref}}, {type:{ref,text,clear}}, {select:{ref,value}}, {press}, {scroll}, {wait}, {back}. The `ref` is the one `controls` gave you. It stops at the first failure and tells you where. $0.0005 (0.25 credit) per action, plus requested outputs and any outstanding browser time. API key and credits required. Reference for the oassis API: https://oassis.dev/openapi.json
| Parameter | Type | Description |
|---|---|---|
actions * | array | What to do, in order: click, type, select, scroll, hover, press, navigate, wait. One to twenty-five per call. |
sessionId * | string | The session to act on, from `web_session_open`. |
binaryAs | string | How a screenshot or a PDF comes back. `base64` is the only value today. |
block | object | What not to load, which makes a render faster and cheaper. `resourceTypes` takes image, font, stylesheet, media… and `urlPatterns` are regular expressions, not globs: `\.svg$`, not `*.svg`. |
controls | object | Options for the `controls` format: `visibleOnly`, and `limit` (1 to 1000) to cut the map. |
formats | array | Outputs you want in the same response. `controls` is the map of what can be clicked; `elements` needs `selectors`; `json` needs `json.prompt` or `json.schema`. |
json | object | For the `json` format: a `prompt` describing what to pull out, a JSON `schema` to fill, or both. |
links | object | Options for the `links` format: `visibleOnly`, `excludeExternal` to keep only internal links. |
maxAge | integer | Accept an answer up to this many milliseconds old. A cache hit costs $0.0002 instead of the format price. Leave it out to force a fresh render. |
pdf | object | Options for the `pdf` format: `format` (a4, letter, legal…), `landscape`, `printBackground`, `scale` 0.1 to 2. |
request | object | How to make the request: `headers`, `cookies`, `userAgent`, and `auth` for basic authentication. |
screenshot | object | Options for the `screenshot` format: `fullPage` for the whole page, `type` (png, jpeg, webp), `quality` 1-100 (not with png), `omitBackground`, `selector` to capture one element, and its own `viewport… |
selectors | array | CSS selectors for the `elements` format. |
url | string | Page to process. |
viewport | object | The window to render in: `width`, `height`, `deviceScaleFactor`. |
wait | object | When to consider the page loaded: `until` (load, domcontentloaded, networkidle0, networkidle2), `selector` to wait for, `timeout` in ms. |
web_scrape_batch
A batch OF SCRAPES: reads a list of urls YOU give it (2 to 50, from any sites) and returns a jobId. It discovers nothing on its own — for that use web_crawl. API key and credits required. Poll it with web_batch_status.
| Parameter | Type | Description |
|---|---|---|
urls * | array | The pages of this batch. Two to fifty, no duplicates: a batch charges per url. |
binaryAs | string | How a screenshot or a PDF comes back. `base64` is the only value today. |
block | object | What not to load, which makes a render faster and cheaper. `resourceTypes` takes image, font, stylesheet, media… and `urlPatterns` are regular expressions, not globs: `\.svg$`, not `*.svg`. |
controls | object | Options for the `controls` format: `visibleOnly`, and `limit` (1 to 1000) to cut the map. |
formats | array | Outputs you want in the same response. `controls` is the map of what can be clicked; `elements` needs `selectors`; `json` needs `json.prompt` or `json.schema`. A screenshot or a PDF is not available h… |
json | object | For the `json` format: a `prompt` describing what to pull out, a JSON `schema` to fill, or both. |
links | object | Options for the `links` format: `visibleOnly`, `excludeExternal` to keep only internal links. |
maxAge | integer | Accept an answer up to this many milliseconds old. A cache hit costs $0.0002 instead of the format price. Leave it out to force a fresh render. |
request | object | How to make the request: `headers`, `cookies`, `userAgent`, and `auth` for basic authentication. |
selectors | array | CSS selectors for the `elements` format. |
viewport | object | The window to render in: `width`, `height`, `deviceScaleFactor`. |
wait | object | When to consider the page loaded: `until` (load, domcontentloaded, networkidle0, networkidle2), `selector` to wait for, `timeout` in ms. |
web_batch_status
Checks a batch of scrapes: status, how many are done, and the results. Free for the owning account. Pass `cancel: true` to stop it.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | The batch, from web_scrape_batch. |
cancel | boolean | Stop pending pages and refund pages that never started. An in-flight read may finish and is billed; failed reads are refunded. |
limit | number | Results to return (default 50). |
web_map
Every url of a site, fast and cheap: its sitemap plus, optionally, the links on the page. Use it BEFORE crawling, to see what is there and decide what is worth reading. 1 credit ($0.002) with `includePage: false` (no browser at all), 1.5 credits ($0.003) with the page. Reference for the oassis API: https://oassis.dev/openapi.json
| Parameter | Type | Description |
|---|---|---|
url * | string | Page to process. |
excludePaths | array | Discard urls whose path contains one of these. Up to twenty. It wins over `includePaths`. |
includePage | boolean | Render the page too, to catch urls the sitemap does not list. `false` uses no browser at all, so it costs less: $0.002 against $0.003. |
includePaths | array | Keep only urls whose path contains one of these. Up to twenty. |
includeSubdomains | boolean | Treat subdomains of the same site as part of it. |
limit | integer | Urls to return. Up to 5000. |
search | string | Keep only urls containing this text. |
web_crawl
Follows a site's links and reads every page. Returns a jobId; poll it with web_crawl_status. API key and credits required; `limit` controls the maximum pages charged. Use web_map first if you only need the urls. Reference for the oassis API: https://oassis.dev/openapi.json
| Parameter | Type | Description |
|---|---|---|
url * | string | Page to process. |
binaryAs | string | How a screenshot or a PDF comes back. `base64` is the only value today. |
block | object | What not to load, which makes a render faster and cheaper. `resourceTypes` takes image, font, stylesheet, media… and `urlPatterns` are regular expressions, not globs: `\.svg$`, not `*.svg`. |
controls | object | Options for the `controls` format: `visibleOnly`, and `limit` (1 to 1000) to cut the map. |
excludePaths | array | Discard urls whose path contains one of these. Up to twenty. It wins over `includePaths`. |
formats | array | Outputs you want in the same response. `controls` is the map of what can be clicked; `elements` needs `selectors`; `json` needs `json.prompt` or `json.schema`. A screenshot or a PDF is not available h… |
includePaths | array | Keep only urls whose path contains one of these. Up to twenty. |
includeSubdomains | boolean | Treat subdomains of the same site as part of it. |
json | object | For the `json` format: a `prompt` describing what to pull out, a JSON `schema` to fill, or both. |
limit | integer | Pages this crawl may read, up to 200. Charged up front; what it does not read comes back. |
links | object | Options for the `links` format: `visibleOnly`, `excludeExternal` to keep only internal links. |
maxAge | integer | Accept an answer up to this many milliseconds old. A cache hit costs $0.0002 instead of the format price. Leave it out to force a fresh render. |
maxDepth | integer | How far from the starting page to follow links. 0 reads only the starting page. |
request | object | How to make the request: `headers`, `cookies`, `userAgent`, and `auth` for basic authentication. |
selectors | array | CSS selectors for the `elements` format. |
viewport | object | The window to render in: `width`, `height`, `deviceScaleFactor`. |
wait | object | When to consider the page loaded: `until` (load, domcontentloaded, networkidle0, networkidle2), `selector` to wait for, `timeout` in ms. |
web_crawl_status
Checks a crawl: status, pages read, discovered and still queued, and the pages themselves. Free for the owning account. Pass `cancel: true` to stop it.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | The crawl, from web_crawl. |
cancel | boolean | Stop pending pages and refund pages that never started. An in-flight read may finish and is billed; failed reads are refunded. |
limit | number | Pages to return (default 50). |
web_search_exa
Search the web with Exa's index: a query instead of a url, for when you do not know where to look. Returns title, url and a snippet per result. To read the pages, pass the urls to web_scrape_batch. The engine is named because the price is Exa's, passed through with no markup and read from its own payment challenge on every call — the quote is read at execution time and is not a guaranteed fixed price. API key and credits required over MCP.
| Parameter | Type | Description |
|---|---|---|
query * | string | What to search for. |
domains | array | Only these domains, subdomains included: `example.com` also matches `docs.example.com`. |
excludeDomains | array | Never these domains, subdomains included. |
limit | integer | Results to return. Up to 50. |
since | string | Only results published after this ISO date. |
snippets | boolean | Text alongside each result. On by default: a bare url is rarely enough. |
web_feedback
Tell us an answer was good or bad. FREE. Use it when a result is wrong — empty markdown, a control map missing a button, data that does not match the page — with the url or the jobId so it can be reproduced. It is the only way we learn that we read a page badly: our logs cannot tell that apart from a page that is simply like that. Reference for the oassis API: https://oassis.dev/openapi.json
| Parameter | Type | Description |
|---|---|---|
verdict * | string | Did the answer do the job or not. |
comment | string | What you expected and what you got. |
reference | string | The jobId or sessionId it happened on, so it can be looked up. |
route | string | Which tool or endpoint it is about, as you called it. |
url | string | The page that came out wrong: usually the fastest way to reproduce it. |
web_task_start
Starts a research task: a question answered by reading public pages, with sources, progress and cost. Requires an API key and credits. The maximum budget is reserved, actual execution cost is charged, and unused credits are released. Returns a task id: check it with web_task_status.
| Parameter | Type | Description |
|---|---|---|
task * | string | What to find out, in plain words. Be specific about what to compare. |
limits | object | Bounds on cost, time and steps. |
mode | string | Only research is available: read public pages and answer. |
urls | array | Pages to read first, up to 5. Public http or https urls only. |
web_task_status
Returns a task's status, progress, sources, limitations, result and billing. Only your own tasks.
| Parameter | Type | Description |
|---|---|---|
id * | string | The task id, from web_task_start. |
access_token | string | Task-scoped access token returned by web_task_start; not an API key. |
web_task_cancel
Stops a task using its owning API key, or its legacy access_token. No new operations start. Cancellation is free; unused account credit reservations are released. Cancelling a finished task changes nothing.
| Parameter | Type | Description |
|---|---|---|
id * | string | The task id, from web_task_start. |
access_token | string | Task-scoped access token returned by web_task_start; not an API key. |
web_session_close
Closes the browser session and stops its time. HTTP equivalent: POST /web/v1/session/{id}/close. No additional close fee; outstanding browser time is settled when applicable. If you do not close it, it closes itself after a minute without use.
| Parameter | Type | Description |
|---|---|---|
sessionId * | string | The session to close, from web_session_open. |