Publish a Setup Snapshot
publish_setup_snapshotPublishes a new sanitized setup snapshot: title, summary and items. Each item gives platform, itemType, name, summary, optional sanitizedContent and a required stateClassification; only portable, non-private-memory, supported-provider items are accepted. Secret-shaped values and local absolute paths are refused; sensitive vocabulary raises an item's riskLevel unless listed in its acknowledgedTerms. Returns snapshot id, revision, privacyWarnings, acknowledgeable terms and coverage (compacted under 50,000 chars with acknowledgeableUniqueTerms and acknowledgeableGroups when large). dryRun: true checks without saving. visibility defaults to private (readable only by the user and through grants); public also shows item names, types and risk levels on the user's public profile. get_reference topic "snapshot_guide" lists item types for every platform, formats and limits. [Bearer scope: setup_snapshot:publish]
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": {
"title": "<title>",
"summary": "<summary>"
},
"name": "publish_setup_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| title | Yes | ||
| dryRun | No | When true, runs the full content scan and coverage report and returns privacyWarnings and acknowledgeable without saving anything (no snapshot, revision or audit entry). | |
| source | No | ||
| summary | Yes | ||
| visibility | No | Default 'private' (readable only by the user and through grants). 'trusted' and 'grant_scoped' also allow grant-based summaries; 'public' also shows item names, types and risk levels on the user's public profile. | |
| platformsDetected | No | Platform name → true; up to 64 keys, counting the items' platforms. | |
| exportableAtomRefs | No |