Get ID dataset details (TogoID)
togoid_getDatasetRetrieve detailed metadata for a TogoID dataset, including ID format, URI prefix, examples, and regex patterns. Provides a Python-compatible regex to prevent silent compilation failures.
Instructions
Get configuration for a specific database in TogoID.
Retrieves detailed metadata about a single dataset, including its ID format, URI prefix, example IDs, and available annotations.
RETURNS a dict with label (human-readable name), regex (the ID-validation
pattern exactly as TogoID serves it), regex_flavor ("ecmascript"),
regex_python (the same pattern rewritten for Python's re — ADDED HERE),
prefix (URI prefixes for linking), examples (sample IDs — test with
countId before bulk conversion), and annotations (available annotation
types).
⚠️ regex uses .NET/JavaScript named groups (?<id>...), which Python's
re.compile rejects. Use regex_python. A bare try/except around the
compile silently degrades to "matches nothing" — a wrong answer, not an error.
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": "<dataset>"
},
"name": "togoid_getDataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | Yes | Dataset key (e.g., 'uniprot', 'ncbigene', 'pdb', 'chembl_target', 'ensembl_gene', 'hgnc', 'pubchem_compound') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||