Get Table Sample
get_table_sampleReturns a sample of rows from a specified MySQL table to inspect its data. Use optional limit and database parameters to control the query.
Instructions
Get sample rows from a table
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": "get_table_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of rows to return (1-50, default 5) | |
| table | Yes | Table name | |
| database | No | Optional database to read from for this call only, without changing the active connection |