osrs_wiki_get_page_info
Retrieve detailed information about specific pages on the OSRS Wiki using this tool. Input page titles to access data on items, NPCs, locations, or game mechanics efficiently through the OSRS MCP Server.
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:361-370 (handler)Handler function that parses the input titles using the schema, makes an API call to the OSRS Wiki to query page info, and returns the formatted response.case "osrs_wiki_get_page_info": const { titles } = OsrsWikiGetPageInfoSchema.parse(args); const pageInfoResponse = await osrsApiClient.get('', { params: { action: 'query', prop: 'info', titles: titles } }); return responseToString(pageInfoResponse.data);
- index.ts:41-43 (schema)Zod schema defining the input for the tool: a string of comma-separated 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:248-252 (registration)Registers the tool in the listTools handler with name, description, and converted input schema.{ name: "osrs_wiki_get_page_info", description: "Get information about specific pages on the OSRS Wiki.", inputSchema: convertZodToJsonSchema(OsrsWikiGetPageInfoSchema), },