sample_rows
Fetches a small representative sample of rows from a database table, defaulting to 10 and capped at 100, to inspect content and verify structure quickly.
Instructions
Fetch representative rows from a table (default 10, max 100)
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": {
"connectionId": "<connectionId>",
"table": "<table>"
},
"name": "sample_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of rows (default 10, max 100) | |
| table | Yes | Table name | |
| format | No | Output format | |
| schema | No | Schema name | |
| connectionId | Yes | Connection ID |