Restore Commit
lyzr_git_restore_commitRestore a Git repository to the state of a specific commit using its commit SHA.
Instructions
Restore the repo to the state of a specific commit.
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": {
"agent_id": "<agent_id>",
"commit_sha": "<commit_sha>"
},
"name": "lyzr_git_restore_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent id | |
| commit_sha | Yes | Commit SHA to restore |