komrad

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 '{}'

Request#

ListReviewSnapshotsRequest#

FieldTypeDescription
one of

The task whose snapshots to list. Unset uses the caller's own task.

task_iduuid

The task, by id.

task_slugstring

not empty

The task, by slug.

Response#

ListReviewSnapshotsResponse#

FieldTypeDescription
snapshotsReviewSnapshot[]

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.

FieldTypeDescription
iduuid*

The snapshot's id.

task_iduuid*

The id of the task the snapshot was taken of.

ordinalint32

The snapshot's number within its task, counting from one.

base_shastring

The commit on the base branch that the task's branch started from when the snapshot was taken.

shastring

The commit holding the whole worktree, tracked and untracked files alike.

created_attimestamp

When the snapshot was taken.