Version-control history
vc_logCheck version history with recent commits, scoped to a record or resource. Use the returned hash to revert changes and restore previous versions.
Instructions
List recent commits, optionally scoped to one record. Use a returned hash with restore_resource to revert to that version. 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": "vc_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Record id (requires resource). | |
| limit | No | Max commits (default 20). | |
| resource | No | Record kind, e.g. 'block' or 'layout'. |