scan_plugins
Parse RPG Maker MZ plugin annotations to list every command's key, label, description, args, and enabled state. Filter by plugin name or enabled-only to discover which commands can be triggered.
Instructions
Discover the plugin commands this project actually has, by parsing the @command/@arg annotations in js/plugins/*.js and the enabled/disabled state in js/plugins.js. Use it to find out what create_plugin_command can call and with which args — it reports every command's key, label, description and args (name/type/default), plus whether the plugin is enabled in the editor's Plugin Manager (a disabled plugin's commands never run). create_plugin_command validates against this scan automatically, so you don't need to call this first; it's for discovery. Pass pluginName to narrow to one plugin, or enabledOnly:true to skip plugins that are installed but switched off. Read-only. NOTE: MZ has no 'required argument' annotation, so scanned args are checked for unknown names only, never for missing ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pluginName | No | Optional: restrict to one plugin (its filename without .js) | |
| enabledOnly | No | Only report plugins enabled in js/plugins.js (default false) |