Is the documentation (either official or unofficial) of the programming "language" for the LEGO Mindstorms Robot Inventor software available somewhere? Preferably online, without requiring the download of an application. (I have looked at the official LEGO site for the Mindstorms product line, but found nothing there)

To elaborate, I'm looking for a resource detailing the available commands, their possible parameters, expected results, etc.

2 Answers 2


Official Docs

Word Blocks

The Word Block Descriptions for the block language (Scratch) are under Help & Support in the Settings.

enter image description here

Settings are found by clicking on the gear icon on the home page.

enter image description here

Basic Python

For Python, there is a Knowledge Base on the side of the screen. Click the book icon to show or hide it.

enter image description here

Advanced Python

There is also separate documentation for the low-level Python APIs for advanced users.

Unofficial Docs


Recently following web-page appeared: https://lego.github.io/MINDSTORMS-Robot-Inventor-hub-API/

I learned it from David Lechner (https://github.com/gpdaniels/spike-prime/issues/7#issuecomment-850643719). I haven't seen an official announcement, but the URL implies it's from LEGO.

  • 1
    Well, it also says Copyright (c) 2017-2021 - LEGO System A/S - Aastvej 1, 7190 Billund, DK on the documentation license.
    – RSchulz
    Commented May 29, 2021 at 19:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.