Read a GunSpec documentation guide
Returns one GunSpec documentation guide as Markdown. Pass the anchor of a section from gunspec_search_docs to read just that section, which is what an answer usually needs; omit it for the whole page, which can run to tens of kilobytes. Quote what this returns rather than paraphrasing from memory, and cite the url. Call gunspec_search_docs first unless the guide id is already known.
Anwendungsbeispiel
- 1
Eine Person fragt
- Read the GunSpec caching guide and tell me how long I may keep a firearm record.
- 2
Der Assistent ruft das Tool auf
tools/calljson{ "name": "gunspec_read_docs", "arguments": { "guide": "caching", "anchor": "caching-policy" }} - 3
Der Server antwortet
Ergebnisjson{ "id": "caching", "title": "Caching and refreshing", "url": "https://docs.gunspec.io/en/caching#caching-policy", "sections": [ { "anchor": "caching-policy", "title": "How long you may keep it", "trail": "How long you may keep it", "markdown": "Every lifetime below is the value the API sends in Cache-Control on that path. There is no separate policy to remember: this table is generated from the one the server stamps responses from.\n\n| Resource | Your cache | Shared caches | Condit…" } ]}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 guide id, e.g. "caching", "pagination", "errors" or "rate-limits".
- string
A section anchor from gunspec_search_docs. Omitted, the whole page is returned.
- Gesendet als
- ?anchor=
Jedes Argument wird als der angegebene Parameter an GET /v1/docs/guides/{id} gesendet. Dieselbe Anfrage lässt sich also mit deinem Schlüssel direkt an die API stellen, wenn du bestimmen möchtest, was zurückkommt.