Get a Link for a Human to Claim This Workspace
getClaimLinkMint a one-time link that a human opens in a browser to take ownership of this workspace: they set an email and password, and can attach payment to buy more capacity. Give the link to the person. You never need to open it, and you cannot use it yourself.
USE WHEN:
- Free capacity is running low or exhausted (getWorkspaceUsage) and the person wants to keep going
- verifyAnchorCode returned freeGrantOutcome not-owed or refused
- The person wants to see the workspace, its call history or its keys in the TotalPath web app
- The person asks how to pay
WHAT YOU GET BACK (201):
- url: the link. Valid for ONE HOUR and usable ONCE. Pass it to the person as-is.
- expiresAt: when it stops working
AFTER THE PERSON CLAIMS:
Your API key keeps working exactly as before. The person now owns the workspace, can see everything you did, and can buy capacity that your key can then spend. Nothing you need to do.
WHEN IT IS REFUSED:
- 409 with reason workspace-claimed: a human already owns this workspace, so no more claim links can be issued. Tell the person to sign in at https://www.nopaque.co.uk instead.
- 503: the link could not be issued just now. Try again shortly.
A link that expires unused is harmless. Call this again for a fresh one.
RELATED TOOLS:
- getWorkspaceUsage: check the balance before deciding whether the person needs to pay
- verifyAnchorCode: must have succeeded before the workspace can do anything worth paying forTool 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": "getClaimLink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The token is in the fragment, after `#t=`. | |
| expiresAt | Yes | One hour after minting. |