robotbase-dev

v0.35.1
io.github.wygogogo19/robotbase-dev Checked 2 days ago Published 8 days ago

Agent MCP: 18 tools — GitHub/HF/npm/PyPI/HN trends plus 17 web tools for coding agents.

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

web_fetch Web Fetch

Fetch one public web page and return its readable text as clean markdown or plain text, with navigation, scripts, headers and footers stripped. When to use: you have a specific URL (from web_search or the user) and need what the page actually says - 'read this article', 'summarise this docs page', 'turn this URL into markdown'. Do not use: to crawl or mirror a site, to fetch a page behind a login or paywall, to read API/RPC endpoints, or for book text inside CyberLibrary (use cyberlibrary_get_chapter). Returns: {url, final_url, status, title, content, chars, truncated, fetched_at, source (dire…

ParameterTypeDescription
url *stringThe http(s) URL to read (max 2048 chars).
formatstringOutput format. Default markdown.
max_charsintegerTruncate the returned content to this many characters (2000-20000). Default 8000.
ocrbooleanForce OCR on scanned PDFs/images (auto-detected by default; set false to skip).

web_screenshot Web Screenshot

Capture a screenshot of one public web page as an image (JPEG) plus metadata. When to use: visual layout matters - a dashboard, chart, UI state, or 'what does this page look like'. Do not use: to read text (use web_fetch), for pages behind a login or paywall, or for bulk capture. Returns: image content (image/jpeg) plus {url, final_url, title, width, height, bytes, engine, elapsed_ms, _metering}. Rendered by a real Chromium browser, robots.txt-respecting, SSRF-guarded, max 3MB per image. Metered: uses the same shared free pool (10 free calls/day per IP shared by all twelve web tools), then 2 c…

ParameterTypeDescription
url *stringThe http(s) URL to capture (max 2048 chars).
full_pagebooleanCapture the whole page instead of the viewport. Default false.
heightintegerViewport height 240-1200. Default 800.
widthintegerViewport width 320-1920. Default 1280.

web_map Web Map

Discover the URLs of one site - sitemap first, then same-host links from the homepage. When to use: you need the list of pages a site exposes before fetching a few of them. Do not use: as a crawler (max 50 URLs, no page content) or to bypass robots.txt. Returns: {url, final_url, count, urls:[{url,source}], cached, took_ms, _metering}. Metered: uses the same shared free pool (10 free calls/day per IP shared by all web tools), then 1 credit per call over x402 - there is no API key; the 402 answer carries accepts[].

ParameterTypeDescription
url *stringSite root or page URL (max 2048 chars).
limitintegerMax URLs to return, 1-50. Default 50.

web_fetch_batch Web Fetch Batch

Fetch up to 5 public URLs in one call and return each page's title, engine and a short snippet (first ~1200 characters), so an agent can triage several links quickly. When to use: search returned several candidate pages and you want a first pass over all of them; then call web_fetch on the ones worth reading in full. Do not use: when you need the complete text of a page (use web_fetch), or to crawl a site (use web_map). Returns: {ok, count, ok_count, results:[{url, ok, final_url, status, title, engine, chars, snippet, error?}], took_ms, _metering}. Partial failures do not fail the whole call.…

ParameterTypeDescription
urls *array1-5 http(s) URLs to fetch in one call.
formatstringSnippet format. Default markdown.
max_charsintegerSnippet length per page, 200-2000. Default 1200.

web_feed Web Feed

Read an RSS or Atom feed and return its latest items. When to use: the user wants the latest posts/news from a site that publishes a feed, or you found a feed URL and want headlines plus links. Do not use: to read article text (use web_fetch) or to discover a site's URLs (use web_map). Returns: {ok, url, final_url, title, count, items:[{title, link, published, summary}], cached, took_ms, _metering}. Summary is HTML-stripped and capped at 500 characters. Metered: uses the same shared free pool (10 free calls/day per IP shared by all web tools), then 1 credit per call over x402 - there is no API…

ParameterTypeDescription
url *stringRSS/Atom feed URL (max 2048 chars).
limitintegerMax items to return, 1-20. Default 10.

web_metadata Web Metadata

Extract a page's structured metadata: Open Graph, Twitter cards, canonical URL, language and JSON-LD. When to use: you need the title/description/author/image of a page, or JSON-LD structured data for a product/article, without reading the whole page. Do not use: when you need the page text (use web_fetch) or a screenshot (use web_screenshot). Returns: {ok, url, final_url, title, description, image, site_name, type, canonical, lang, jsonld[], cached, took_ms, _metering}. Metered: uses the same shared free pool (10 free calls/day per IP shared by all web tools), then 1 credit per call over x402…

ParameterTypeDescription
url *stringThe http(s) page URL (max 2048 chars).

web_crawl Web Crawl

Crawl one site's same-host pages starting from a URL (depth 1-2, at most 20 pages) and return each page's title, URL and readable text. When to use: you need several pages from one site (docs section, news index, product list) and web_map alone is not enough. Do not use: to mirror a whole site (hard cap 20 pages, same host), or for one page (web_fetch). Returns: {ok, url, final_url, count, pages:[{url, title, status, chars, content}], cached, took_ms, _metering}. Respects robots.txt and SSRF guards; partial page failures are skipped. Metered: uses the same shared free pool (10 free calls/day p…

ParameterTypeDescription
url *stringStart URL (same host is crawled).
depthintegerLink depth 1-2. Default 2.
max_charsintegerPer-page content cap 200-4000. Default 1000.
max_pagesintegerMax pages 1-20. Default 20.

web_extract Web Extract

Extract structured data from one public page: tables (headers + rows), JSON-LD blocks, and Open Graph/Twitter/canonical/language metadata. When to use: the page has tables or schema.org JSON-LD you need as data, without an LLM. Do not use: when you only need the page text (web_fetch) or a screenshot (web_screenshot). Returns: {ok, url, final_url, title, meta:{description,image,site_name,type,canonical,lang}, jsonld[], tables:[{caption,headers,rows}], links? , cached, took_ms, _metering}. Metered: uses the same shared free pool (10 free calls/day per IP shared by all web tools), then 1 credit p…

ParameterTypeDescription
url *stringThe http(s) page URL.
include_linksbooleanAlso return same-host links (max 100). Default false.

web_act Web Act

Drive a real Chromium browser on one public page: click, type, press keys, scroll, wait for selectors, then return the resulting text (and optionally a screenshot and JSON XHR responses). When to use: the page needs interaction before its content appears (cookie banners, tabs, 'load more', form submit) and web_fetch/web_crawl cannot see it. Do not use: for plain reading (web_fetch) or bulk crawling (web_crawl); no login/paywall bypass. Returns: {ok, url, final_url, title, markdown, chars, elapsed_ms, screenshot?, xhr?, took_ms, _metering}. Max 10 actions; screenshot returns MCP image content.…

ParameterTypeDescription
actions *arrayActions: {type: click|type|press|scroll|wait_for|wait_ms, ...}
url *stringThe http(s) page URL.
full_pagebooleanFull-page screenshot. Default false.
include_xhrbooleanReturn JSON XHR responses captured while acting. Default false.
max_charsintegerText cap 1000-20000. Default 20000.
screenshotbooleanReturn a JPEG screenshot. Default false.

web_crawl_async Web Crawl Async

Submit a same-host crawl as an asynchronous job and return a job_id immediately. When to use: you need more than a couple of pages and cannot hold a long HTTP request; submit here, then poll web_crawl_job until status is done, failed or cancelled. Do not use: for one page (web_fetch) or when you need the result in this call (web_crawl). Returns: {ok, job_id, status, url, depth, max_pages, max_chars, idempotent, poll_with}. Pass idempotency_key to retry safely (24h window returns the same job). Metered: uses the same shared free pool (10 free calls/day per IP), then 3 credits per submit over x4…

ParameterTypeDescription
url *stringStart URL (same host is crawled).
depthintegerLink depth 1-2. Default 2.
idempotency_keystringOptional; retries within 24h return the same job.
max_charsintegerPer-page content cap 200-4000. Default 1000.
max_pagesintegerMax pages 1-20. Default 20.

web_crawl_job Web Crawl Job

Check or cancel an asynchronous crawl job created by web_crawl_async. When to use: after web_crawl_async, poll with action=status until status is done/failed/cancelled; use action=cancel to stop a running job. Do not use: to start a crawl (web_crawl_async) or for a quick one-page read (web_fetch). Returns status: {ok, job_id, status: queued|running|done|failed|cancelled, progress:{pages_done,max_pages}, created_at, updated_at, result?, error?}. Free (not metered); rate-limited. Done result uses the same shape as web_crawl.

ParameterTypeDescription
job_id *stringjob_id returned by web_crawl_async.
actionstringPoll status (default) or cancel the job.

web_extract_schema Web Extract Schema

Extract a page's structured data into a named schema's common fields (no LLM): article, product, event, faq, recipe, course, organization, local_business, breadcrumb, dataset or job_posting. When to use: you need fields (title/author/date, price/currency/availability, event dates, FAQ Q&A, recipe ingredients, org address) rather than raw markdown or tables. Do not use: to get every JSON-LD block verbatim (web_metadata/web_extract) or to read text (web_fetch). Returns: {ok, url, final_url, schema, requested_schema, detected_types, matched, fields:{...}, sources:[jsonld|meta], jsonld_count, tabl…

ParameterTypeDescription
url *stringThe http(s) page URL.
schemastringTarget schema; auto detects from JSON-LD types. Default auto.

web_diff Web Diff

Fetch a page now and compare it with the previous snapshot of the same URL, returning whether it changed and a unified diff (no LLM). When to use: monitoring a page for updates - prices, docs, policy pages, SEO titles/meta; first call stores the baseline, later calls return added/removed lines. Do not use: for one-off reading (web_fetch) or structured fields (web_extract_schema). Returns: {ok, url, baseline, changed, diff, added_lines, removed_lines, previous_ts, current_ts, title, hash, chars, fetched_cached, took_ms, _metering}. fresh=true (default) adds a cache-busting query to bypass the 6…

ParameterTypeDescription
url *stringThe http(s) page URL.
freshbooleanBypass the page cache with a cache-busting query. Default true.
max_charsintegerCompare at most this many chars (500-12000). Default 4000.

web_monitor_set Web Monitor Set

Create a scheduled change monitor for one public URL: the server re-fetches the page on an interval, stores a new snapshot and records a diff event whenever the readable text changes. When to use: the user wants to be told when a page changes (price, docs, policy page, job post, release notes) and cannot poll it themselves; also for handing off 'watch this for me'. Do not use: for a single comparison right now (web_diff) or when you only need the page today (web_fetch). Returns: {ok, monitor_id, url, status:active, interval_minutes, next_check_ts, webhook_enabled, webhook_secret?, webhook_sign…

ParameterTypeDescription
url *stringThe http(s) URL to watch (max 2048 chars).
interval_minutesintegerCheck interval 15-1440 minutes. Default 60.
webhook_urlstringOptional https endpoint notified on each change (HMAC-signed).

web_monitor_list Web Monitor List

List the scheduled change monitors owned by the calling IP, with latest/next check time, last title or error, and the 5 most recent change events. When to use: after web_monitor_set, poll this instead of re-fetching the page; or to show the user what is currently being watched. Do not use: to create a monitor (web_monitor_set) or to compare one page now (web_diff). Returns: {ok, count, monitors:[{monitor_id,url,interval_minutes,active,created_ts,last_check_ts,next_check_ts,last_title,last_error,webhook_enabled,events_total,recent_events}], note}. Pass monitor_id to get that one monitor plus la…

ParameterTypeDescription
include_diffbooleanWith monitor_id, include the latest unified diff. Default true.
monitor_idstringOptional: return this monitor (owned by the calling IP) plus its most recent change diff.

web_monitor_delete Web Monitor Delete

Delete one scheduled change monitor owned by the calling IP (its event history is removed too). When to use: the user no longer needs to watch a page, or the per-IP monitor limit was reached. Do not use: to pause a monitor temporarily - there is no pause; delete and re-create. Returns: {ok, deleted, monitor_id, note}; unknown or foreign ids return {ok:false,error:'monitor_not_found'} and delete nothing. Free (not metered); rate-limited to 20 calls/min per IP.

ParameterTypeDescription
monitor_id *stringmonitor_id returned by web_monitor_set.