sg_dataset_schema
Retrieve column names, data types, and row count for a tabular data.gov.sg dataset using a one-row query; returns schema only, not row content or full catalogue metadata.
Instructions
Get column names/types and row count for a tabular data.gov.sg dataset using a one-row query; returns no row content. Not the full catalogue metadata API.
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": {
"dataset_id": "<dataset_id>"
},
"name": "sg_dataset_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_id | Yes | Dataset ID from its data.gov.sg page, beginning d_ followed by 32 hex characters. |