orion_create_entity
Create a new NGSI-v2 entity in the FIWARE Context Broker by specifying its ID, type, and attributes such as status or temperature.
Instructions
Create a new entity in the Context Broker.
Args: entity_id: Unique entity ID (e.g. 'Camera:CAM-001'). Convention: 'Type:Name'. entity_type: Entity type (e.g. 'Camera', 'TrafficSensor', 'ParkingSpot'). attributes: Dict of attribute definitions. Each attribute: {"attr_name": {"type": "Text|Number|Boolean|geo:json|DateTime", "value": }} Example: {"status": {"type": "Text", "value": "online"}, "temperature": {"type": "Number", "value": 22.5}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ||
| entity_type | Yes | ||
| attributes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |