Find a Keel asset id by code
find_assetResolve an asset code like USDY or AQUA to the full CODE:ISSUER IDs Keel monitors; if multiple issuers match, returns all so you can ask the user which one they mean.
Instructions
Resolves an asset code such as USDY or AQUA to the full CODE:ISSUER ids Keel monitors. When one code has several issuers, ALL of them are returned and none is chosen: ask the user which issuer they mean rather than picking one, because the same ticker from a different issuer is a different asset.
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": {
"code": "<code>"
},
"name": "find_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Asset code, case-insensitive, e.g. "usdy" or "XLM". | |
| issuer | No | Optional issuer account (G...) or a prefix of it, to narrow the matches. |