What an attachment fits
Returns every firearm that one attachment fits, with the supporting evidence for each. Requires the Studio plan.
Example usage
- 1
A person asks
- Which firearms does the SureFire SOCOM556-RC2 fit?
- 2
The assistant calls the tool
tools/calljson{ "name": "gunspec_attachment_firearms", "arguments": { "id": "surefire-socom556-rc2", "per_page": 5 }} - 3
The server answers
Resultjson{ "firearms": [ { "id": "2a-balios-lite-blr-16", "name": "2A Armament Balios Lite BLR-16", "fitType": "direct", "source": "inferred", "confidence": 0.6, "reason": "Mounts on 1/2-28 UNEF right hand (muzzle)", "via": [ { "position": "muzzle", "standardId": "thread:1/2x28", "source": "inferred", "adapterId": null } ], "adapter": null, "manufacturer": { "id": "2a-armament", "name": "2A Armament" }, "category": "Rifle", "svgLineArtUrl": null, "yearIntroduced": 2014, "images": [ { "id": 5976, "url": "https://api.gunspec.io/v1/firearms/2a-balios-lite-blr-16/images/5976", "kind": "render", "alt": null, "width": null, "height": null } ] }, { "id": "2a-balios-lite-blr-carbon", "name": "2A Armament Balios Lite BLR-Carbon", "fitType": "direct", "source": "inferred", "confidence": 0.6, "reason": "Mounts on 1/2-28 UNEF right hand (muzzle)", "via": [ { "position": "muzzle", "standardId": "thread:1/2x28", "source": "inferred", "adapterId": null } ], "adapter": null, "manufacturer": { "id": "2a-armament", "name": "2A Armament" }, "category": "Rifle", "svgLineArtUrl": null, "yearIntroduced": 2015, "images": [ { "id": 5977, "url": "https://api.gunspec.io/v1/firearms/2a-balios-lite-blr-carbon/images/5977", "kind": "render", "alt": null, "width": null, "height": null } ] }, { "id": "aero-precision-m4e1-complete", "name": "Aero Precision M4E1 Complete", "fitType": "direct", "source": "inferred", "confidence": 0.5, "reason": "Mounts on 1/2-28 UNEF right hand (muzzle)", "via": [ { "position": "muzzle", "standardId": "thread:1/2x28", "source": "inferred", "adapterId": null } ], "adapter": null, "manufacturer": { "id": "aero-precision", "name": "Aero Precision" }, "category": "Carbine", "svgLineArtUrl": "/firearms/line/svg/aero-precision-m4e1-complete.svg", "yearIntroduced": 2015, "images": [ { "id": 650, "url": "https://assets.gunspec.io/firearms/line/svg/aero-precision-m4e1-complete.svg", "kind": "silhouette", "alt": null, "width": null, "height": null }, { "id": 6004, "url": "https://api.gunspec.io/v1/firearms/aero-precision-m4e1-complete/images/6004", "kind": "render", "alt": null, "width": null, "height": null } ] } ], "pagination": { "page": 1, "limit": 5, "per_page": 5, "total": 103, "totalPages": 21 }}Captured from the live API on Sep 17, 2026. Lists and long text are shortened for display.
Related references
Arguments
| Name | Type | Description |
|---|---|---|
id (required) | string | The attachment slug, e.g. as returned by a list or search tool. |
page | integer | Page number, from 1. At least 1 Default: 1 |
per_page | integer | Items per page, 1 to 100. 1 to 100 Default: 20 |