get_claim_status
Check claim status; when claimed, retrieve app ID, install snippet, and policy URL; handle pending or expired states.
Instructions
Check whether the user has confirmed a claim created with claim_app. Returns {status: 'pending' | 'expired' | 'claimed', …}. While 'pending', wait a few seconds and call again (the link stays valid for 7 days; 'expired' ⇒ create a new claim). Once 'claimed' it adds the REAL appId, the install snippet, the hosted policyUrl, published (if false, do NOT install the snippet yet — the policy page would be a dead link until the user publishes from their dashboard) and a pending list of details the code can't know (e.g. the controller's legal name): replace any YOUR_APP_ID placeholder snippet with the real one and ask the user for the pending items. Errors on an unknown code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The claim code returned by claim_app (not the URL — the `code` field). |