add_column
Add a new column to a PostgreSQL table by specifying database, table, column name, and data type.
Instructions
Adds a new column to a table dynamically.
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": {
"db_name": "<db_name>",
"table": "<table>",
"column_name": "<column_name>",
"data_type": "<data_type>"
},
"name": "add_column"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_name | Yes | ||
| table | Yes | ||
| column_name | Yes | ||
| data_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |