Get access to read business cards
request_scan_accessIssues an access token for scan_business_card, good for 3 free reads. Call it once, before the first scan. It needs the name of the assistant or app calling, and your user's name and email address; ask your user first and set user_consent to true only if they agreed to share them with Krane. One access per email address: asking again returns the same token and what is left on it.
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": {
"agent": "<agent>",
"name": "<name>",
"email": "<email>",
"user_consent": "<user_consent>"
},
"name": "request_scan_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Your user's name. | |
| agent | Yes | The assistant or app making this call, e.g. "ChatGPT" or your product's name. | |
| Yes | Your user's email address. | ||
| purpose | No | Optional: what the cards are for, in a few words. | |
| user_consent | Yes | true only if your user agreed to share their name and email with Krane. |