lint_recipe
Validate a single Workato recipe locally via file path or recipe ID, checking structure, step numbering, and data pills to return errors, warnings, and diagnostics.
Instructions
LOCAL static-analysis of a SINGLE recipe (no token needed for the path form). Provide EITHER path (a local *.recipe.json) OR recipe_id (pulled live via the Developer API). A pure-Python port of Workato Labs recipe-lint's cheap Tier 0/1 rules + datapill checks: top-level structure (CODE_WRAPPED_IN_RECIPE, CODE_NOT_OBJECT, MISSING_TOP_LEVEL_KEYS), per-step keyword/number/uuid presence, TRIGGER_NUMBER_ZERO, sequential STEP_NUMBERING, AS_UNIQUE/UUID_UNIQUE, CONFIG_PROVIDER_MATCH (missing adapter config), NO_ELSIF, DP_VALID_JSON, DP_LINE_RESOLVES, and the update_variables raw-form footgun. Returns {source, passed, errors, warnings, diagnostics[]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| recipe_id | No |