Top firearms by a statistic
Ranks the catalog by one measurable statistic: lightest, heaviest, longest range, highest rate of fire, most compact, highest capacity or most powerful. Results can be limited to one category.
Anwendungsbeispiel
- 1
Eine Person fragt
- What are the five lightest pistols in the catalog?
- 2
Der Assistent ruft das Tool auf
tools/calljson{ "name": "gunspec_top_firearms", "arguments": { "stat": "lightest", "category": "pistol", "limit": 5 }} - 3
Der Server antwortet
Ergebnisjson[ { "id": "iver-johnson-eclipse", "name": "Iver Johnson Eclipse", "manufacturerId": "iver-johnson", "categoryId": "pistol", "value": 140, "unit": "g" }, { "id": "braverman-stinger-pen-gun", "name": "Braverman Stinger Pen Gun", "manufacturerId": "rj-braverman", "categoryId": "pistol", "value": 142, "unit": "g" }, { "id": "frank-wesson-superposed-derringer", "name": "Frank Wesson Superposed Derringer", "manufacturerId": "frank-wesson", "categoryId": "pistol", "value": 145, "unit": "g" }]Am 22. Okt. 2026 von der Live-API erfasst. Listen und lange Texte sind für die Anzeige gekürzt.
Zugehörige Referenzen
Argumente
- stringerforderlich
The statistic to rank by.
- Akzeptiert
- Gesendet als
- ?stat=
- string
Limit results to this category slug.
- Gesendet als
- ?category=
- integerstandard
10Number of results to return.
- Bereich
- 1 – 50
- Gesendet als
- ?limit=
Jedes Argument wird als der angegebene Parameter an GET /v1/firearms/top gesendet. Dieselbe Anfrage lässt sich also mit deinem Schlüssel direkt an die API stellen, wenn du bestimmen möchtest, was zurückkommt.
json