add_collection_members
Add IP, CIDR, DNS, or collection members to a collection; changes are staged and require apply_change to take effect.
Instructions
Add members (network locations) to a collection. Returns a change_id; nothing changes until apply_change.
Each member needs: name, comment, location ({type, value}). Location types: ip, cidr, dns, collection.
Example member: {"id": "auto-generated", "name": "Web Server", "comment": "", "location": {"type": "ip", "value": "10.0.1.5"}}
Args: collection_id: The collection to add members to. members: List of member objects. IDs will be auto-generated if missing.
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": {
"collection_id": "<collection_id>",
"members": "<members>"
},
"name": "add_collection_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| members | Yes | ||
| collection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |