Batch update posture attributes
tailscale_batch_update_posture_attributesBatch update custom posture attributes across multiple devices using JSON Merge Patch semantics; set values or pass null to delete attributes.
Instructions
Batch update custom posture attributes across multiple devices. Each attribute key must start with 'custom:'. Uses JSON Merge Patch semantics -- pass null as the attribute config to delete.
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": {
"nodes": "<nodes>"
},
"name": "tailscale_batch_update_posture_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | Map of device ID to attribute config map (e.g. { "nPM2KNuedB21DEVEL": { "custom:compliant": { "value": "true" } }, "nPpz3VEKzX11DEVEL": { "custom:compliant": { "value": false, "expiry": "2026-12-01T00:00:00Z" } } }). Keys are device IDs, nodeIds preferred. Pass null as the config to delete an attribute. | |
| comment | No | Optional comment added to the audit log explaining why attributes are being set (max 200 chars) |