ea_resolve
Resolve a braced GUID or plain analyst reference to Enterprise Architect model candidates, returning exact and prefix matches with type, ID, path, and GUID; filter by element, diagram, or package.
Instructions
Resolve an analyst reference (braced GUID or plain name) to model candidates: the input is echoed as reference and the hits are in candidates. A braced GUID is matched exactly. A plain name is matched against the full name first; only if nothing matches exactly is the reference retried as a name prefix, which resolves analyst codes like UC_ABC_2079 or OA_ABC_2280 to elements named 'CODE: description'. An exact hit is returned alone and is never diluted by prefix hits. Each candidate reports its type (element, diagram, package), id, name, fullPackagePath, eaGuid, and a match field that is always present with value "guid", "exact", or "prefix" — a "prefix" candidate is an inexact match and must not be treated as a confirmed identity. Use the optional kind filter to narrow results.
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": {
"reference": "<reference>"
},
"name": "ea_resolve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter candidates to a specific kind | |
| reference | Yes | The reference to resolve: a braced GUID like {ABC-123} or a plain name |