get_receipt
Fetches a signed receipt as JSON: either a practitioner receipt by file name (the .json file name from a screening result, for a practitioner on your roster) or a monthly roster receipt (roster_id + period YYYY-MM, built from your latest complete run). Free (rate limited, not metered). A sandbox or non-production receipt is labelled as such or UNSIGNED and proves nothing. Check it with verify_receipt. Needs an API key (Authorization: Bearer sw_live_… or sw_test_…); without one it returns an error that points to how_to_get_access.
Tool 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": "get_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Practitioner receipt file name ending in .json. | |
| period | No | Month, YYYY-MM. | |
| roster_id | No | Roster id (from your account). Use with period. |