db_sample_data
Inspect sample data from any table or view to understand its format, values, and patterns before writing queries.
Instructions
Returns 5 sample rows from a table or view. Use this to understand the actual data format, values and patterns before writing a more specific query.
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>"
},
"name": "db_sample_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table or view name. Example: dbo.MyTable |