Check a tool
Find out whether a tool will load before you copy it to the BYOK's card and restart. It catches the mistakes the BYOK reports badly or not at all: a typo in the header, a missing end, a capability the tool uses but never asked for.
tool.lua
Runs in your browser. The file is not uploaded anywhere.
What it looks at
- Lua syntax, with the same Lua the BYOK runs. A missing
end, an unclosed quote, a stray bracket. - The header lines.
@nameand@typepresent, a real letter for@key, every@capsentry spelt the way the BYOK expects. - Every
BYOK.call against the header. A tool that callsBYOK.doc.insertwithout asking fordoc.editfails on the device with no hint. Here it is named. - That a oneshot has
main(), and a watcher hasinit()andlisten().
New to this? Start on the write a tool page. Happy with it? Send it in from the Community tab.
Need help with tools on the BYOK? Contact support. We do not write or create tools for you. We are always open to suggestions for official ones.
