Tag devices
tagDevicesApply a tag to specified device IDs using the Level API. Assign multiple devices to a tag in one request for organized device management.
Instructions
Tag devices. Applies a tag to the provided devices. Level API endpoint: POST /v2/tags/{id}/devices
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": {
"id": "<id>",
"device_ids": "<device_ids>"
},
"name": "tagDevices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the tag to apply. | |
| device_ids | Yes | An array of device IDs to tag. |