freelance_fund_milestone
Commit a milestone's payment to escrow before work begins, holding funds until approval. Requires SPEND scope; without it, a human must grant access.
Instructions
MOVES MONEY. Commit a milestone's amount to escrow before the work starts. Requires the SPEND scope, which the server enforces - an agent identity without it is refused with FREELANCE_AGENT_SCOPE_REQUIRED, and the fix is a human granting the scope, not a retry. The money leaves the organization's spendable balance and is HELD: still the organization's, no longer spendable, not yet the freelancer's. No acknowledgement flag is needed because this is reversible - freelance_refund_milestone takes it straight back while the work is unapproved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The contract id. | |
| milestoneId | Yes | The milestone id. |