togoid_countId
Count how many source IDs have mappings in a target database before bulk conversion, verifying format and estimating result size.
Instructions
Check how many of your IDs can be converted before doing bulk conversion.
A lightweight pre-check: tells you how many source IDs have mappings in the target database WITHOUT actually returning the mapped IDs. Use this to: - Verify your IDs are in the correct format - Estimate result size before a large convertId call - Check if a conversion route works for your specific IDs
This is a single-hop, pairwise check: pass source and target as two
separate args (unlike convertId, which takes one comma-joined route).
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": "<source>",
"target": "<target>",
"ids": "<ids>"
},
"name": "togoid_countId"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Source IDs to check. Accepts either a list of strings or a comma-separated string (e.g., ["672", "675"] or "672,675"). | |
| source | Yes | Source database key (e.g., 'ncbigene', 'uniprot') | |
| target | Yes | Target database key (e.g., 'uniprot', 'pdb') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||