distinct_values
Retrieve distinct values from a specified column in a database table, with an optional limit to cap results.
Instructions
Distinct values for a column (capped).
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": {
"table": "<table>",
"column": "<column>"
},
"name": "distinct_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| table | Yes | ||
| column | Yes | ||
| database | No | Database/schema name; defaults to connection default_database | |
| connection | No | Named connection from config; defaults to default_connection |