resolve_entity
Fuzzy matches a user query against dataset column values to resolve typos or partial names, returning the best match and alternatives for use in other tools.
Instructions
Fuzzy-match a user-supplied string against real column values (difflib).
Always call this before any tool that takes a fund name, type, or sector
string — prevents 'not found' errors from typos or partial names.
Returns best_match (the value to pass to other tools) plus candidates.
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": {
"column": "<column>",
"query": "<query>"
},
"name": "resolve_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| column | Yes | ||
| filename | No | ||
| dataset_uri | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||