Rate evidence
tribeunal_rate_evidenceRate case-file evidence as up, irrelevant, or down to replace your prior rating and get the file's net usefulness score.
Instructions
Rate an evidence-marked case file's usefulness: 1 (up), 0 (irrelevant), -1 (down). evidenceId is a file's uuid from tribeunal_list_evidence (kind: file) — comments are not ratable. Files become ratable once marked with tribeunal_mark_evidence. Any case viewer may rate; re-rating replaces your prior rating. Refuses 400 invalid_rating for any other value, 404 evidence_not_found for a bad id, and 400 side_trial_mismatch if sideId names a side from a different case. Returns {evidenceUuid, rating, evidenceScore}, the file's net up-minus-down score.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | Yes | Rating value: 1 up, 0 irrelevant, -1 down. | |
| sideId | No | Optional side UUID (from tribeunal_get_case) recording which side this rating supports; must belong to the same case as the evidence, else 400 side_trial_mismatch / 404 side_not_found. | |
| evidenceId | Yes | Case-file evidence UUID from tribeunal_list_evidence's uuid field (kind: file) — not a comment id. |