puppygraph_profile_column
Profiles a column to return total, null, and distinct counts, cardinality class, key/enum/measure hints, and sample values so you can identify primary keys, foreign keys, and attributes.
Instructions
Profile one column from its data: total, null and distinct counts, cardinality_class (unique, high, medium, low or binary) and looks_like hints (pk_candidate, fk_candidate, enum, measure, free_text, timestamp, json), plus up to 20 sample values and min/max unless the server returns counts only. A node id should be a pk_candidate: unique and never null. Use this to decide which column is a table's id, which ones reference other tables, and which are attributes. It scans the whole column, so it can take minutes on large tables.
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": "<catalog>",
"database": "<database>",
"table": "<table>",
"column": "<column>"
},
"name": "puppygraph_profile_column"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| column | Yes | Column name | |
| catalog | Yes | Catalog name | |
| database | Yes | Database or schema name |