List ID datasets (TogoID)
togoid_getAllDatasetLists all TogoID datasets with label, URI prefix, example IDs, and both original and Python-compatible ID regex patterns so you can validate or convert identifiers safely.
Instructions
List all databases registered in TogoID with their ID formats.
Returns configuration for every dataset TogoID knows about, including:
label: Human-readable database name
regex: Pattern for validating IDs, AS SERVED BY TogoID
regex_flavor: dialect of
regex— currently always "ecmascript"regex_python: the same pattern rewritten for Python's
re(ADDED HERE)prefix: URI prefix for linked data
examples: Sample IDs you can use to test conversions
⚠️ regex IS NOT PYTHON-COMPATIBLE. TogoID publishes .NET/JavaScript named
groups — (?<id>...) — which re.compile rejects outright for all 119
datasets. Use regex_python, which this tool adds beside the original.
Never wrap the compile of regex in a bare try/except: that converts
"cannot compile" into "matches nothing", i.e. a silently wrong answer.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "togoid_getAllDataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||