Faceabot Web page reader

v1.0.0
com.faceabot/web-reader Checked 1 day ago Published 1 month ago

Read any public web page as clean text, and files of public GitHub repositories.

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

read_web_page Read a web page

Reads a public web page and returns its title and main text as clean plain text (menus, scripts and ads removed), in pages of up to 50,000 characters. Use when: you need the content of an article, a documentation page, a blog post or any public page. Not for: pages that need a login; PDFs (use the Faceabot PDF tool). Example: {"url":"https://example.com"}

ParameterTypeDescription
url *stringPublic https address of the page
max_charsinteger
startinteger

read_github_file Read a file from a public GitHub repository

Returns a file from a public GitHub repository (default: its README). Use when: you need a project's README, documentation or source file. Example: {"repo":"cloudflare/workers-sdk","path":"README.md"}

ParameterTypeDescription
repo *stringowner/name, e.g. cloudflare/workers-sdk
max_charsinteger
pathstringFile path. Default: the README
refstringBranch, tag or commit. Default: the default branch
startinteger