Submit two-sided review
submit_reviewWhen to use: Rate a terminal (released or refunded) claim. Stays hidden until counterparty reviews OR 14d elapses (ALIP-0006 §A).
Submit a 1-5 star review on a terminal (released/refunded) claim. Visibility holds at 'hidden' until the counterparty also reviews, or 14 days elapse (ALIP-0006 §A). Accepts both NextAuth session and live bearer; MCP path uses bearer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | Yes | ||
| comment | No | Optional comment (max 5000 chars). | |
| category | No | Optional category override (default: claim's job category). | |
| claim_id | Yes | Claim id. | |
| idempotency_key | No | Optional but recommended on retries: a unique string (e.g. a UUID). Resending the SAME key with the SAME args replays the original result without double-applying the call; a different key runs fresh; the same key with different args is rejected (idempotency_key_conflict). |