list_categories
Browse and filter available data categories from Hong Kong's open government data portal to organize and access relevant datasets.
Instructions
Get a list of data categories (groups)
Args: order_by: Field to sort by ('name' or 'packages') - deprecated, use sort instead sort: Sorting of results ('name asc', 'package_count desc', etc.) limit: Maximum number of categories to return offset: Offset for pagination all_fields: Return full group dictionaries instead of just names language: Language code (en, tc, sc)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
all_fields | No | ||
language | No | en | |
limit | No | ||
offset | No | ||
order_by | No | name | |
sort | No | title asc |
Input Schema (JSON Schema)
{
"properties": {
"all_fields": {
"default": false,
"type": "boolean"
},
"language": {
"default": "en",
"type": "string"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"order_by": {
"default": "name",
"type": "string"
},
"sort": {
"default": "title asc",
"type": "string"
}
},
"type": "object"
}