get_repository_snapshot
Fetch one persisted immutable repository snapshot by repository_id and snapshot_id, including its resolved_revision, content_hash, file_count, language_counts, and graph artifact refs. Use this to re-read a snapshot created earlier with create_repository_snapshot (or through run_repository_pipeline). Read-only; an unknown snapshot or repository id fails with not_found.
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": {
"repository_id": "<repository_id>",
"snapshot_id": "<snapshot_id>"
},
"name": "get_repository_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot_id | Yes | Snapshot id returned by create_repository_snapshot. | |
| repository_id | Yes | Saved repository connector id from list_connectors. |