Search Official Garry's Mod Wiki
search_gmod_wikiSearch the official Garry's Mod Wiki by keyword or concept to discover functions, hooks, libraries, panels, and enums. Filter results by category and realm to find APIs when the exact symbol name is unknown.
Instructions
Query the official Facepunch Garry's Mod Wiki and indexed API reference by keyword or conceptual topic across functions, hooks, libraries, panels, and enums. Read-only operation with zero side effects, no authentication required, and cached offline-first execution with live documentation fallback; does NOT modify the workspace. Requires a query string. Optionally filter by category ('functions', 'hooks', 'libraries', 'panels', 'enums', 'all', default 'all'), realm ('server', 'client', 'shared', 'menu', 'all', default 'all'), and max_results (1 to 20, default 5). Use this tool for broad discovery, conceptual exploration, or finding candidate APIs when the exact symbol name is unknown. Do NOT use if you already know the exact function or hook identifier (use get_gmod_symbol instead for complete signatures, argument specifications, caveats, and official examples). Do NOT use for third-party libraries, community forum solutions, or undocumented engine quirks (use web_search_glua instead). Returns a GModToolResult envelope with status ('success' or 'failed'), summary, and data containing query, category, realm, total_matches, and an array of matching results (title, canonical wiki_url, realm, summary, signature, category).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search term, concept keyword, or partial identifier (e.g. 'net.Receive', 'PlayerInitialSpawn', 'DScrollPanel', 'draw.RoundedBox'). | |
| realm | No | Filter documentation by execution realm ('server', 'client', 'shared', 'menu', or 'all'). | all |
| category | No | Filter search results by documentation category ('functions', 'hooks', 'libraries', 'panels', 'enums', or 'all'). | all |
| max_results | No | Maximum number of documentation matches to return (integer between 1 and 20, default is 5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Domain-specific typed payload returned by the tool. | |
| status | Yes | Execution status of the tool call ('success', 'partial', 'blocked', or 'failed'). | |
| summary | Yes | Concise, human-readable summary of operational findings, diagnostics, or execution outcome. | |
| evidence | Yes | Traceability evidence including cited documentation and generated artifacts. | |
| warnings | Yes | List of non-fatal warnings, lint advisories, engine caveats, or security notices. | |
| nextActions | No | Actionable, ordered recommendations for the agent's immediate next steps. |