domotz_inventory
Define inventory fields, assign values to devices, and manage custom tags. List device profiles and types to streamline network monitoring.
Instructions
Manage inventory fields, custom tags, device profiles, and device types. Use the "action" parameter to select an operation.
ACTION REFERENCE:
get_inventory: Get all inventory field definitions (no parameters needed)
delete_inventory: Delete all inventory fields (caution: removes all)
create_field: Create an inventory field (needs inventory_field name + body)
delete_field: Delete an inventory field (needs inventory_field name)
update_field: Update an inventory field (needs inventory_field name + body)
get_device_inventory: Get inventory data for a device (needs agent_id + device_id)
set_device_field: Set inventory field value on a device (needs agent_id + device_id + inventory_field + body)
delete_device_field: Clear inventory field on a device (needs agent_id + device_id + inventory_field)
get_tags: List all custom tags (no parameters needed)
create_tag: Create a custom tag (needs body)
edit_tag: Edit a custom tag (needs custom_tag_id + body)
delete_tag: Delete a custom tag (needs custom_tag_id)
bind_tag: Bind a tag to a device (needs agent_id + device_id + custom_tag_id)
unbind_tag: Unbind a tag from a device (needs agent_id + device_id + custom_tag_id)
get_device_tags: Get tags bound to a device (needs agent_id + device_id)
list_profiles: List all device profiles (no parameters needed)
apply_profile: Apply a profile to devices (needs device_profile_id + body)
list_base_types: List base device types (no parameters needed)
list_detected_types: List detected device types (no parameters needed)
EXAMPLES:
List all tags: {"action": "get_tags"}
Device inventory: {"action": "get_device_inventory", "agent_id": 5, "device_id": 42}
List device profiles: {"action": "list_profiles"}
List device types: {"action": "list_base_types"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (JSON object) | |
| action | Yes | The operation to perform | |
| agent_id | No | Agent/Collector ID | |
| device_id | No | Device ID | |
| custom_tag_id | No | Custom Tag ID | |
| inventory_field | No | Inventory field name | |
| device_profile_id | No | Device Profile ID |