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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"milestoneId": "<milestoneId>"
},
"name": "freelance_fund_milestone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The contract id. | |
| milestoneId | Yes | The milestone id. |