End Contract
upwork__end_contractEnd a contract with a reason code, optionally attaching a freelancer review (six 1–5 scores + a comment). Runs through MCP (draft -> confirm_draft). Use list_contracts action=end_reasons to look up reason codes first.
WRITE OPERATION — REQUIRES EXPLICIT USER CONFIRMATION. Returns a draft for review — call confirm_draft to execute after explicit user approval.
Actions:
end: Prepare a contract-end draft. Params: contract_id (string, required), reason_id (string, required). Optional freelancer review: quality_score, skills_score, communication_score, availability_score, deadlines_score, cooperation_score (integers 1–5) and comment (string). Provide all six scores together for a complete review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The operation to perform | |
| params | No | Action-specific parameters (see allOf branches per action when present) | |
| org_uid | Yes | Your Upwork org_uid from list_accounts |