Microtoll Engine
v0.1.3Microtoll Engine in your coding tool: docs search and a scaffold for end-to-end-encrypted apps.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
microtoll_search_docs Search the Microtoll Engine documentation
Full-text search over the Microtoll Engine documentation (the same pages as microtoll.dev, shipped inside this package). Returns pages, sections and excerpts; read a page with microtoll_read_doc.
| Parameter | Type | Description |
|---|---|---|
query * | string | What to look for, in words. |
limit | integer |
microtoll_read_doc Read a Microtoll Engine documentation page
One documentation page as Markdown: the `path` from a search result (for example "packages/access.html") or from https://microtoll.dev/llms.txt.
| Parameter | Type | Description |
|---|---|---|
path * | string |
microtoll_scaffold Create a new app from the notes starter
Writes the notes starter (an end-to-end-encrypted notes app on Microtoll Engine: client, page, Compose file, nginx, README) into an EMPTY directory, with the namespace and origin filled in. Writes files and nothing else: no commands run, no network. The next steps (npm install, docker compose up) are returned for the person to run.
| Parameter | Type | Description |
|---|---|---|
directory * | string | Where to write the app: an empty or not-yet-existing directory. |
name | string | The app's name (a-z, 0-9, "-"); default: the namespace. |
namespace | string | The app's crypto namespace (a-z, 0-9, "-"); used by the client and the server alike. Default "myapp". |
origin | string | The web origin the app runs at, for example http://localhost:8088. Default http://localhost:8088. |