osrs_wiki_get_page_info
Retrieve detailed information about specific pages on the Old School RuneScape Wiki by providing comma-separated titles, enabling quick access to essential game data and references.
Instructions
Get information about specific pages on the OSRS Wiki.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| titles | Yes | Comma-separated list of page titles to get info for (e.g., Dragon_scimitar,Abyssal_whip) |
Implementation Reference
- index.ts:406-416 (handler)Handler implementation for the 'osrs_wiki_get_page_info' tool. Parses input arguments, makes an API call to the OSRS Wiki for page info using the 'query' action and 'info' prop, and returns the response.case "osrs_wiki_get_page_info": const pageInfoArgs = getSchemaForTool(name).parse(args) as { titles: string }; const { titles } = pageInfoArgs; const pageInfoResponse = await osrsApiClient.get('', { params: { action: 'query', prop: 'info', titles: titles } }); return responseToString(pageInfoResponse.data);
- index.ts:44-46 (schema)Zod schema defining the input parameters for the tool: a comma-separated list of page titles.const OsrsWikiGetPageInfoSchema = z.object({ titles: z.string().describe("Comma-separated list of page titles to get info for (e.g., Dragon_scimitar,Abyssal_whip)") });
- index.ts:305-308 (registration)Tool registration in the list of available tools returned by ListToolsRequestHandler.{ name: "osrs_wiki_get_page_info", description: "Get information about specific pages on the OSRS Wiki.", },
- index.ts:279-280 (schema)Schema lookup case in getSchemaForTool function used for input validation during tool calls.case "osrs_wiki_get_page_info": return OsrsWikiGetPageInfoSchema;
- index.ts:260-261 (registration)JSON schema conversion and caching for the tool in getToolSchemas.osrsWikiSearch: convertZodToJsonSchema(OsrsWikiSearchSchema), osrsWikiGetPageInfo: convertZodToJsonSchema(OsrsWikiGetPageInfoSchema),