add_entity
Register a new entity in the data registry by specifying its type and code, with optional English and Chinese names plus metadata for identification and cataloging.
Instructions
Add a new entity to the registry.
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": "add_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| name_en | No | ||
| name_zh | No | ||
| metadata | No | ||
| entity_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||