Extracts data from the current screen, optionally validating it against a JSON schema. Store the result withDocumentation Index
Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
saveAs to read it on env.<name> in later
steps. The simplified form takes the extraction goal as a single string.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
goal | string | Yes | What to extract. |
schema | object | No | JSON Schema the extracted payload must conform to. |
saveAs | string | No | Variable to store this step’s return value on env.<name>. |
retries | number | No | 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. |
extract fails the step when the extracted payload does not conform to
schema.