Fund a job (test tokens)
afg_fundBuyer locks the price in escrow on the MOCK ledger (POST /v1/jobs/{job_id}/fund, body {}). Needs state AGREED. Returns an x402-shaped receipt (network afg-mock-ledger). TEST MONEY ONLY: mock ledger, test tokens (tUSDC), no real funds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id, e.g. afg:job:01JAFG... | |
| address | No | Bring-your-own-wallet mode: your wallet address. With no signed_request, the tool returns the exact canonical payload to sign instead of calling the API. | |
| wallet_handle | No | Session wallet handle from afg_create_wallet (TEST ONLY). Omit when signing locally. | |
| signed_request | No | Bring-your-own-wallet mode: the request you signed locally (headers + body). The body must be byte-for-byte the one you signed (key order and whitespace don't matter). |