LeSysBot docs

Package version

not declared

Platforms

All platforms

Requires on PATH

nothing

Python dependencies

httpx

Install#

Nothing to do — this package ships inside LeSysBot and is available as soon as the installer finishes.

Tools#

This package exposes 1 tool.

fetch_url(url)#

Retrieve a URL and hand its text body back to the model.

Parameters

ParameterTypeDefaultDescription
urlrequiredstrThe URL to fetch.

Notes#

  • Requires the httpx pip package, declared in the package's requirements.txt.
  • Content fetched from the web is fed straight into the model's context. Treat this the way you would treat any untrusted input to an assistant that can also run tools on your machine — see Security.

Source#

Every package is a folder holding a README.md and a tool.py. Read this one on GitHub: lesysbot/lesysbot/tools/web.

To write your own, see Writing tools.