assign_objects_to_label
Assign or unassign cloud resources to a label by specifying object IDs and types, with confirmation before execution.
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).
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>"
},
"name": "assign_objects_to_label"
}
}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. |