open_data_preview
First rows of a CSV or JSON file hosted on dados.gov.pt (reads at most 512 KB).
Args: url: a resource url from open_data_dataset (must be on dados.gov.pt). rows: how many rows to return (1-100).
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": {
"url": "<url>"
},
"name": "open_data_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| rows | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||