create_partition
Creates partitions on a MySQL table using a specified partition column and list, enabling RANGE or custom partition types to organize data and simplify maintenance.
Instructions
Cria partições em uma tabela
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": {
"tableName": "<tableName>",
"schemaName": "<schemaName>",
"partitionColumn": "<partitionColumn>",
"partitions": "<partitions>"
},
"name": "create_partition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableName | Yes | Nome da tabela | |
| partitions | Yes | Lista de partições | |
| schemaName | Yes | Nome do schema | |
| partitionType | No | Tipo de partição | RANGE |
| connectionName | No | Nome da conexão para usar | |
| partitionColumn | Yes | Coluna para particionar |