togoid_countId
Count how many source IDs have mappings in a target database, without returning the mapped IDs. Verify ID format and estimate conversion size before bulk operations.
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).
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 | |||