tag
Manage CollectionService labels on one instance: read, add, or remove a label; add/remove are blocked in read-only mode.
Instructions
Read, add or remove CollectionService tags on one instance. get is read-only; add and remove change the instance and are blocked in read-only mode. Tags are how scripts find groups of objects (CollectionService:GetTagged). To list every instance with a tag, use get_tagged.
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": {
"path": "<path>",
"action": "<action>"
},
"name": "tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Tag name for add or remove, e.g. "Collectible". Ignored for get. | |
| path | Yes | Instance whose tags to read or change. Dot path from the DataModel root, e.g. "Workspace.Map.Door" or "StarterGui.HUD.Frame". A leading "game." is optional; a duplicate sibling name takes the suffix Tufan prints, e.g. "Part (2)". | |
| place | No | Target place (PlaceId or project name). Defaults to the bound/sole connected place. | |
| action | Yes | "get" lists the instance's tags; "add" and "remove" change one tag and need tag. |