Set security properties on a slate
set_slate_securitySet security properties on editable slate notes and lines to classify data, protocols, encryption, and sign-in, mark trust boundaries, and preview or save changes.
Instructions
Say what notes and lines are in security terms: a service, data store or trust boundary; what data a line carries, its protocol, encryption and sign-in. Answers the checks and STRIDE prompts that follow.
Change security properties. Set security properties on notes and lines of a slate you can edit. notes and lines map ids (slates.get lists them) to properties; given fields replace what is there, a field set to null is cleared, and null for an item removes its properties. Type a frame as element "boundary" to make it a trust boundary. labelLines also writes each changed line's properties as its label ("HTTPS · OAuth token · Personal data"); everyone on the slate sees it. Answers the slate's properties with their checks, as security.get does. mode "preview" checks without saving.
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": {
"shareId": "<shareId>"
},
"name": "set_slate_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. | save |
| lines | No | By line id (slates.get lists them). | |
| notes | No | By note id (slates.get lists them). | |
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| shareId | Yes | The slate ID from its address: /canvas/<shareId>. | |
| labelLines | No | Also label each line changed here with its properties. | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. | |
| expectedRevision | No | The revision you read (security.get answers it). The change is refused with 409 security_changed if the security properties changed after it; edits to notes alone never refuse it. |