count_rows
Count rows in a MySQL table, optionally applying a WHERE clause to get a specific count.
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": "count_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| where | No | ||
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||