top_rows
Retrieves the top N rows from a dataset sorted by a specified column in descending order to quickly identify highest values.
Instructions
Return the top-N rows sorted by column descending.
Args: name: the dataset name. column: the column to sort by. n: how many rows to return (default 5).
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": {
"name": "<name>",
"column": "<column>"
},
"name": "top_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| name | Yes | ||
| column | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |