patchSequence
Modify existing database sequences with options for data type, increment, min/max values, cache size, and ownership.
Instructions
Update existing sequence(s).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schema": "<schema>",
"sequence": "<sequence>",
"name": "<name>"
},
"name": "patchSequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema name | |
| sequence | Yes | Sequence names | |
| name | Yes | Sequence name. | |
| data_type | No | Data type used by the sequence. | bigint |
| increment_by | No | Value added to the current sequence value to create a new value. | |
| min_value | No | Minimum value the sequence can generate. | |
| max_value | No | Maximum value the sequence can generate. | |
| start_value | No | The initial value of the sequence | |
| cache_size | No | How many sequence numbers to preallocate and cache. | |
| owned_by | No | Associates the sequence with a table column so it is dropped with that column/table. Format: schema.table.column. |