update_entity
Update or create entity metadata in the ontology database by entity type and code, with optional name overrides and metadata merging after initial registration.
Instructions
Update or create an entity in the ontology database.
This is an admin tool for updating entity metadata after initial registration.
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": {
"entity_type": "<entity_type>",
"code": "<code>"
},
"name": "update_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Entity canonical identifier (ISO code, ticker, classification code) | |
| name_en | No | Optional English name override | |
| name_zh | No | Optional Chinese name override | |
| metadata | No | Optional metadata dict (merged with existing) | |
| entity_type | Yes | Entity type (country, stock, industry, etc.) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||