Recorded Stock History
jlc_stock_historyRetrieve recorded low-stock events for one or more LCSC part codes over a day window, with per-part summaries, recent events, and notes on suspect stock gaps.
Instructions
Recorded low-stock events, newest first: one code gets at most 100; a list gives one reply with a per-part summary and the newest 10 events each, notes once. more_events flags more. Gone is missing from a scrape, not a confirmed stockout; suspect gaps are labelled. Includes the window, recording limits and current_stock from the catalog snapshot (null, with gone_since, for a part that left 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": {
"lcsc": "<lcsc>"
},
"name": "jlc_stock_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | 1-366 calendar days ending on the newest recorded date (default 180). | |
| lcsc | Yes | One LCSC C-code (e.g. C8314) or a list of up to 50; ignores case and surrounding spaces, de-duplicates lists. Also accepts a JSON array string; never comma-split. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||