Reconcile
Queries a W3C Reconciliation Service API endpoint with a name to return ranked candidate entities and their URIs, names, descriptions, scores, and match types, optionally filtered by type or limit.
Instructions
The entities a reconciliation service (the W3C Reconciliation Service API) offers for a name, as a result: one row per candidate, best first, binding ?entity (a URI), ?name, ?description, ?score and ?match. type is one of the service's type ids, limit caps the rows. Wikidata's service is https://wikidata-reconciliation.wmcloud.org/en/api, whose type ids are Wikidata items (Q515 city, Q6256 country, Q43229 organization).
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": {
"endpoint": "<endpoint>",
"query": "<query>"
},
"name": "Reconcile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional: one of the service's type ids, e.g. Q515. | |
| limit | No | Optional: at most this many candidates. | |
| query | Yes | The name to reconcile. | |
| endpoint | Yes | The reconciliation service's URL. |