Find Federated Dataset Copies
ckan_find_federated_copiesFind datasets copied from a source catalog across other CKAN sites by matching their reference URL, returning per-site results including failed sites.
Instructions
Find datasets on other catalogs that were copied from a source catalog, using their reference_url_catalog field. Searches several sites and reports a per-site result, including sites that fail.
Examples:
"ชุดข้อมูลนี้ถูกส่งไปจังหวัดไหนบ้าง" -> source_url="https://catalog.nso.go.th/dataset/ns_16_20305"
"จังหวัดกาฬสินธุ์รับอะไรจาก NSO บ้าง" -> source_url="https://catalog.nso.go.th", match="prefix", sites=["kalasin"]
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": {
"source_url": "<source_url>"
},
"name": "ckan_find_federated_copies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Datasets to return per site | |
| match | No | exact URL, or every URL starting with source_url | exact |
| sites | No | Site aliases to search. Default: every configured site except the source | |
| source_url | Yes | Source dataset URL, or a URL prefix when match='prefix' | |
| response_format | No | 'markdown' for readable text, 'json' for structured data | markdown |