List PostgreSQL Sequences
pg_list_sequencesList all sequences in a PostgreSQL schema, displaying their configuration, current value, and owning column.
Instructions
List all sequences in a schema with their configuration and current state.
Args:
schema: Schema name (default: public)
response_format: Output format
Returns: JSON: { sequences: SequenceInfo[], count: number } Markdown: table with name, type, range, increment, current value, and owning column
Note: last_value reflects the last allocated value, not necessarily the next one to be issued.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | PostgreSQL schema name (default: public) | public |
| response_format | No | Output format: 'markdown' for human-readable, 'json' for machine-readable | markdown |