seq
Generate a numeric sequence as JSON with configurable start, increment, and end values. Outputs an array of numbers for ranges or sequences.
Instructions
Print a sequence of numbers as JSON with configurable start, increment, and end values. Read-only, no side effects. Returns JSON with the number sequence array. Use to generate numeric sequences or ranges. Not for repeating a constant string — use 'yes' for fixed repetition. See also 'yes', 'printf'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | printf-style numeric format, for example %%.2f. | |
| increment | No | Increment used with one or two positional numbers. | |
| max_items | No | Maximum items to generate. | |
| numbers | Yes | [FIRST [INCREMENT]] LAST. | |
| raw | No | Write sequence text without a JSON envelope. | |
| separator | No | Raw output separator. |