Snapshot portal content to git
snapshot_portalExport all content resources and datasources to version control, commit a checkpoint, and verify coverage by comparing staged counts with live listings.
Instructions
Export every content resource (blocks + layouts/queries/themes/partials/snippets/translations/dashboards/tags) AND datasources to the version-control repo and commit. Run once to seed history, or anytime to capture a checkpoint. Verifies COVERAGE: staged counts are checked against live listings and any resource kind that failed to export is reported (a rollback snapshot that silently skipped saved queries is not a rollback). Requires PORTAL_VC_DIR.
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": "snapshot_portal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Commit message (default: 'snapshot'). |