list_review_snapshots
List the snapshots of a task, the caller's task by default, oldest first.
read-onlyidempotentMCP toolAgent
Diff one snapshot's sha against the next to see what changed between them.
Calling it#
curl -X POST http://127.0.0.1:8787/komrad.agent.v1.AgentService/ListReviewSnapshots \
-H 'Content-Type: application/json' \
-d '{}'komrad rpc list-review-snapshots{
"name": "list_review_snapshots",
"arguments": {}
}Offered by the komrad MCP server to writer, reviewer, orchestrator agents.
Request#
ListReviewSnapshotsRequest#
Response#
ListReviewSnapshotsResponse#
| Field | Type | Description |
|---|---|---|
snapshots | ReviewSnapshot[] | Every snapshot of the task, oldest first. |
Types#
ReviewSnapshot#
ReviewSnapshot is a snapshot of a task's worktree, saved as a commit, that a review is written against. A snapshot never changes.
| Field | Type | Description |
|---|---|---|
id | uuid* | The snapshot's id. |
task_id | uuid* | The id of the task the snapshot was taken of. |
ordinal | int32 | The snapshot's number within its task, counting from one. |
base_sha | string | The commit on the base branch that the task's branch started from when the snapshot was taken. |
sha | string | The commit holding the whole worktree, tracked and untracked files alike. |
created_at | timestamp | When the snapshot was taken. |