sample
Retrieve sample rows from a specified database table to inspect data format and structure. Limits rows to a configurable number.
Instructions
Show sample rows from a table to understand the data format.
Args: database: Name of the database from config. table: Name of the table. limit: Number of rows to return (default 5, max 50).
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": {
"database": "<database>",
"table": "<table>"
},
"name": "sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | ||
| table | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |