assign_objects_to_label
Assign or unassign cloud resources to a label by providing object IDs and types. Confirm assignments before executing.
Instructions
Use this when the user wants to assign or unassign cloud resources to a label. Ask the user to confirm the assignments before executing. Do NOT use this for creating labels (use create_label) or viewing assignments (use get_label_assignments).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the label to assign or unassign objects to. | |
| add | No | Array of objects to assign to the label. Each object must have objectId and objectType. | |
| remove | No | Array of objects to unassign from the label. Each object must have objectId and objectType. |