Get or create a public token
get_public_tokenRetrieve an existing shop public token or create one if missing, then write it to a new owner-private receipt file for later use.
Instructions
Rate limit: 100 requests / 10 seconds per shop. See Rate limiting.
Returns an existing public token for the shop, or creates a new one if none exists
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": {
"output_file": "<output_file>"
},
"name": "get_public_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact private shop profile label; not a provider identity or authorization proof. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| output_file | Yes | Absolute NEW owner-private receipt file; exclusive0600 creation, no overwrite. Upload/public-token URLs never enter ordinary output. |