Read a GMod wiki page
wiki_pageRead a GMod wiki page by exact name and return raw markup or JSON, with optional refresh and caching for offline use.
Instructions
Reads one wiki page by its exact name (as wiki_search returns it): format text = the page's raw wiki markup (realm, arguments, returns, notes), format json = the wiki's JSON form. Cached 7 days (stale cache used offline; refresh: true re-downloads). Result: {name, format, url, cache, content (text) or page (json)}. Error not_found for an unknown name (use wiki_search). Example: {"name": "Entity:EmitSound"}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "wiki_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| format | No | Default text. | |
| refresh | No | Download the page again (default false). | |
| instance | No | Optional. Instance identifier (see instances_list). If present and different from the local instance, the call is relayed by the coordinator to that instance. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | Yes | ||
| next | No | ||
| note | No | ||
| page | No | ||
| cache | No | ||
| format | No | ||
| content | No | ||
| warning | No | ||
| next_call | No | ||
| answered_by | No | ||
| truncated_note | No | ||
| version_warning | No |