Check a Playbook Before Saving
validate_playbookChecks a playbook write without saving anything. check "full" (default) plans the write: the create shape {content, title?, summary?, tags?, sensitivity?, acknowledgedTerms?} mirrors create_playbook; the patch shape {playbookId, section, value, mode?, baseVersion?, sensitivity?, acknowledgedTerms?} mirrors update_playbook_section and needs the signed-in owner. Returns {valid, mode, errors, verdict, acknowledgeableTerms, wouldReject, wouldStore, redeclaration?, versionConflict?}. check "privacy" scans any JSON content plus optional title, summary and tags and returns {secrets, vocabulary, acknowledgeableTerms, warnings, suggestedRiskLevel, suggestedSensitivity}: secrets are refused at publish, vocabulary terms can be acknowledged. Setup-snapshot items are checked with dryRun on the snapshot write tools. [Anonymous-callable]
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_playbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Patch shape: default 'replace'. | |
| tags | No | ||
| check | No | 'full' (default): plan the write. 'privacy': privacy scan only. | |
| title | No | Create shape: title the write would use. | |
| value | No | Patch shape: section value/partial. | |
| content | No | Create shape and privacy check: the document to check. | |
| section | No | Patch shape: section to patch. | |
| summary | No | Create shape: optional summary. | |
| dotfileId | No | Deprecated alias for `playbookId`. | |
| playbookId | No | Patch shape: id of the user's playbook to check a section patch against. `dotfileId` is a deprecated alias. | |
| baseVersion | No | Patch shape: optional — when provided and stale, the result carries versionConflict {baseVersion, currentVersion}. | |
| sensitivity | No | Create shape: declared sensitivity (default 'internal'). Patch shape: a re-declaration of the stored level, applied only when acknowledgedTerms covers every current sensitive-vocabulary match. | |
| acknowledgedTerms | No |