get_or_create_entity
Retrieve existing entities or create new ones with stable IDs to maintain consistent project memory in SQLite databases.
Instructions
Reuse an exact entity when it already exists or create one with a generated stable id.
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>",
"name": "<name>"
},
"name": "get_or_create_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_type | Yes | ||
| name | Yes | ||
| entity_id | No | ||
| description | No | ||
| status | No | active | |
| attributes | No | ||
| tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||