Module paths resolve relative to the YAML file that contains the step. Inputs override the module’sDocumentation Index
Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
defaultParameters for this invocation. Inputs accept
three shapes: raw JavaScript expressions (the default), { string: ... } for
explicit literals, and { javascript: ... } for explicit expressions.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | Yes | Path to the .module.yaml file, relative to the current file. |
inputs | Record<string, string | { string } | { javascript }> | No | Inputs to pass to the module’s parameters. |
saveAs | string | No | Name of the variable to write this step’s return value to. |
retries | number | No | Number of times to retry the step on failure before failing the test. |
skipped | boolean | No | Skip this step at execution time. |
comment | string | No | Free-form annotation kept with the step. |
Shorthand
Module path as a single string. Use when the module needs no inputs.Examples
Notes
Module paths must not start withfile://. Use a plain relative path. Inputs
accept three shapes: a raw value (interpreted as a JavaScript expression, e.g.
env.QA_EMAIL), { string: "literal" }, or { javascript: "expr" }.