Get file
get_fileRetrieve a specific file by its opaque resource ID from Lemon Squeezy, optionally including related variant data for commerce workflows.
Instructions
Retrieves the file with the given ID.
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": {
"id": "<id>"
},
"name": "get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Exact opaque native resource ID; no traversal or URL. | |
| account | No | Exact private profile label. Does not prove store ownership; mode applies to the main API key only. | |
| include | No | Comma-separated native relationships from pinned official SDK: variant. |