Get Database Collation
mssql_db_collationRetrieves the default collation of a SQL Server database to support troubleshooting collation conflict errors.
Instructions
Database collation: the default collation of one database. Use with mssql_db_collation_mismatches for collation conflict errors.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mssql_db_collation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| databaseName | No | Target database. Defaults to connected database. |