Rename Table
rename_tableRenames a table within a watsonx.data schema by specifying its catalog, schema, current name, new name, and engine ID.
Instructions
Rename a table in a watsonx.data schema.
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": {
"catalog_name": "<catalog_name>",
"schema_name": "<schema_name>",
"table_name": "<table_name>",
"new_table_name": "<new_table_name>",
"engine_id": "<engine_id>"
},
"name": "rename_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine_id | Yes | Engine ID to use for the operation (from list_engines) | |
| table_name | Yes | Current table name | |
| schema_name | Yes | Schema containing the table | |
| catalog_name | Yes | Catalog containing the table (e.g., "iceberg_data") | |
| new_table_name | Yes | New name for the table |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||