Convert to AutoNumber
convert_to_autonumberConvert text columns to AutoNumber format in Microsoft Dataverse, generating sequential identifiers using customizable patterns like PREFIX-{SEQNUM:4}-{RANDSTRING:3} for consistent record numbering.
Instructions
Converts an existing text column to an AutoNumber column by adding an AutoNumberFormat. The column must be a String type with Text format and should be empty or contain compatible data.
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": {
"entityLogicalName": "<entityLogicalName>",
"columnLogicalName": "<columnLogicalName>",
"autoNumberFormat": "<autoNumberFormat>"
},
"name": "convert_to_autonumber"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| autoNumberFormat | Yes | AutoNumber format to apply using placeholders like "PREFIX-{SEQNUM:4}-{RANDSTRING:3}" | |
| columnLogicalName | Yes | Logical name of the existing text column to convert | |
| entityLogicalName | Yes | Logical name of the table containing the column | |
| maxLength | No | New maximum length if needed (ensure enough room for format expansion) |