MCPDBWizard

Documentation  ·  Curating

Working with sequences

A selected sequence yields exactly one tool:

<owner>_<sequence>_nextval

It returns the next value, and nothing else.

If you have never used an Oracle sequence before…

currval is deliberately not exposed

It is session state, and the session an agent’s call ran on is not one it can reason about — pooled, the next call may land on a different factory entirely. A currval tool would return a number that looked meaningful and was not.

Practical notes