upsert_entity
Create or merge a knowledge-graph entity using a stable canonical key to deduplicate company, security, or person records and preserve linked research.
Instructions
Create an entity (or merge into the one with the same canonical_key).
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": {
"name": "<name>"
},
"name": "upsert_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | company | |
| name | Yes | ||
| aliases | No | Other names, abbreviations | |
| tickers | No | ||
| canonical_key | No | Stable id such as cik:0001045810; merges on match |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | Yes | ||
| name | Yes | ||
| attrs | Yes | ||
| aliases | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| canonical_key | Yes |