Skip to content

Meta

Module generation, listing, testing, and documentation.

2 modules

ModuleDescription
列出可用模組列出註冊表中所有可用的模組
更新模組文件從註冊表產生或更新 MODULES.md 文件

Modules

列出可用模組

meta.modules.list

列出註冊表中所有可用的模組

Parameters:

NameTypeRequiredDefaultDescription
categorystringNo-依類別篩選模組(例如 browser、data、ai)
tagsarrayNo-依類別篩選模組(例如 browser、data、ai)
include_paramsbooleanNoTrue依標籤篩選模組
include_outputbooleanNoTrue在輸出中包含參數結構描述
formatselect (json, markdown, compact)Nojson在回應中包含輸出結構描述

Output:

FieldTypeDescription
modulesarray已註冊模組列表
countnumber參數結構描述
formattedstring輸出結構描述

Example: List all modules

yaml

Example: List browser modules only

yaml
category: browser
include_params: true

Example: List AI modules as markdown

yaml
tags: ["ai", "llm"]
format: markdown

Example: Compact list for AI prompts

yaml
format: compact

更新模組文件

meta.modules.update_docs

從註冊表產生或更新 MODULES.md 文件

Parameters:

NameTypeRequiredDefaultDescription
output_pathstringNodocs/MODULES.md寫入 MODULES.md 檔案的路徑
include_examplesbooleanNoTrue在文件中包含使用範例

Output:

FieldTypeDescription
file_pathstring在文件中包含使用範例
modules_countnumber檔案路徑
categoriesarray檔案路徑

Example: Update module documentation

yaml
output_path: docs/MODULES.md

Released under the Apache 2.0 License.