GunSpec

Alle 5 Workflows

What fits a firearm

  • gunspec_what_fits
  • Studio
  • Bis zu 2 Anfragen
  • Nur lesend

Workflow. Returns the optics, muzzle devices, stocks, grips and magazines that attach to a firearm, computed from its mounting interfaces, in a single call. Where a seller lists a part, the response includes where to buy it. Provide the firearm as the user named it and, optionally, a category ("optic", "muzzle", "stock"). The response contains the firearm's mounts, followed by up to ten compatible parts per category. Each part states how it fits (direct or through an adapter) and lists its offers. If the name matches more than one firearm, the tool returns the candidates instead. Replaces the resolve call, the attachments call and one offers call per part.

Anwendungsbeispiel

  1. 1

    Eine Person fragt

    • Which optics fit an AK-74M?
  2. 2

    Der Assistent ruft das Tool auf

    tools/call
    json
    {  "name": "gunspec_what_fits",  "arguments": {    "firearm": "AK-74M",    "category": "optic"  }}
  3. 3

    Der Server antwortet

    Ergebnis
    json
    {  "resolved": true,  "firearm": {    "id": "ak-74m",    "name": "AK-74M"  },  "platforms": [    {      "id": "ak-100",      "name": "AK-100 series (AK-74M pattern)"    }  ],  "mounts": [    {      "position": "mag_well",      "standard": "AK 5.45x39 magazine well",      "source": "curated",      "confidence": 1    },    {      "position": "muzzle",      "standard": "M24x1.5 right hand (AK-74, AK-100 series)",      "source": "curated",      "confidence": 1    },    {      "position": "grip",      "standard": "AK pistol grip nut and screw",      "source": "inherited:platform",      "confidence": 1    }  ],  "total": 45,  "categories": [    {      "category": "optic",      "count": 45,      "items": [        {          "id": "aimpoint-compm5",          "name": "Aimpoint CompM5",          "manufacturer": "Aimpoint AB",          "fitType": "adapter",          "via": "UFM KeyMod System for AKM Rifles, Long Version",          "confidence": 1,          "offers": []        },        {          "id": "aimpoint-duty-rds",          "name": "Aimpoint Duty RDS",          "manufacturer": "Aimpoint AB",          "fitType": "adapter",          "via": "UFM KeyMod System for AKM Rifles, Long Version",          "confidence": 1,          "offers": []        },        {          "id": "aimpoint-micro-t-2",          "name": "Aimpoint Micro T-2",          "manufacturer": "Aimpoint AB",          "fitType": "adapter",          "via": "UFM KeyMod System for AKM Rifles, Long Version",          "confidence": 1,          "offers": []        }      ]    }  ]}

    Am 17. Sept. 2026 von der Live-API erfasst. Listen und lange Texte sind für die Anzeige gekürzt.

Schritte

Die Anfragen dieses Workflows in ihrer Reihenfolge. Umfasst dein Plan einen optionalen Schritt nicht, wird dieser ausgelassen und in der Antwort unter gaps zusammen mit dem erforderlichen Plan aufgeführt.

  1. 1

    Resolve a name to one firearm

  2. 2

    List attachments that fit a firearm

  3. Eine Antwort

    Der Workflow fasst bis zu 2 Anfragen zu einer einzigen Antwort für den Assistenten zusammen.

Argumente

NameTypBeschreibung
firearm (erforderlich)stringThe firearm name as the user wrote it, or a slug id.
categorystringOne attachment category, e.g. "optic", "muzzle", "stock", "grip" or "magazine".
min_confidencenumberHides fits derived from inferred data below this confidence (0 to 1).
0 bis 1