get_latest_commit
The current head commit of an account's repository (com.atproto.sync.getLatestCommit): its commit CID and revision. The cheapest way to fingerprint a repo or detect whether it changed since you last looked, without downloading data. Complements get_repo_status (which has the rev but not the commit CID). Input is a handle or DID.
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": {
"repo": "<repo>"
},
"name": "get_latest_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | A handle or DID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||