Read a code
get_codeWhat a code does, its state (blank, active, off), how many times it was scanned and the day of the last scan, and the day it expires. Needs no key.
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": {
"code": "<code>"
},
"name": "get_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The 7 characters at the end of the short address. |