read_records
Retrieve records from a MySQL table using filters, pagination, and sorting for simple data reads. Use run_select_query for complex JOINs or aggregations.
Instructions
Reads records from a table with built-in filtering, pagination, and sorting. Use this for simple data retrieval. For complex queries with JOINs or aggregations, use run_select_query instead.
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_name": "<table_name>"
},
"name": "read_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | Array of filter conditions | |
| sorting | No | ||
| pagination | No | ||
| table_name | Yes | Name of the table to read from |