add_inventory
Manage and organize inventory for characters, entities, or locations in MemoryMesh by adding, updating, and tracking items and ownership details efficiently.
Instructions
A collection of items or equipment belonging to a character, entity, or location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inventory | Yes |
Input Schema (JSON Schema)
{
"properties": {
"inventory": {
"additionalProperties": {
"description": "Additional property value",
"type": "string"
},
"properties": {
"items": {
"description": "List of items in the inventory.",
"items": {
"description": "Item in items array",
"type": "string"
},
"type": "array"
},
"name": {
"description": "[Entity]_inventory.",
"type": "string"
},
"owner": {
"description": "The entity that owns this inventory.",
"items": {
"description": "Item in owner array",
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"owner",
"items"
],
"type": "object"
}
},
"required": [
"inventory"
],
"type": "object"
}