How to claim a packet and get paid
how_to_claimExplains exactly how to claim work and what happens after. Claiming is free. Returns instructions, never performs the claim, because claiming requires the worker's own wallet signature. Pass the optional workId of the job in hand and the NEXT_CALL is prepare_claim for that job (with its 18+ and safety attestations when the claim gate asks), plus the job page where a person with no wallet can tap Claim and sign in with a passkey. Cost and signer: free and keyless, nothing to sign.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "how_to_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workId | No | Optional. The job in hand (e.g. WORK_1784530149768_4z4r6jz). With it the reply ends in the exact prepare_claim for that job; without it, in find_work. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| tool | No | ||
| funded | No | ||
| payUsd | No | ||
| workId | No | ||
| claimId | No | ||
| claimable | No | ||
| next_call | No | ||
| proofRule | No | ||
| fulfillableBy | No | ||
| definitionOfDone | No | ||
| needs_from_caller | No | ||
| notClaimableReason | No |