pcc_capture_challenge
Issue a fresh block-anchored CaptureNonceChallenge for a job. The operator's device must render this nonce into the captured media (QR code, audio tone, etc.) before calling pcc_capture_upload. The nonce is derived from (challengeId, latest blockHash, workOutputRoot) so captures cannot be pre-computed. Returns challengeId, 64-char hex nonce, blockNumber, maxAgeSeconds (clamped to 120).
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": {
"jobId": "<jobId>",
"declaredClass": "<declaredClass>"
},
"name": "pcc_capture_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | PCC job ID the capture belongs to | |
| declaredClass | Yes | Capture class the operator plans to claim. Determines which gates the verifier will run. | |
| requestedTtlSeconds | No | Requested challenge lifetime in seconds. Clamped to 120 server-side. |