-
Notifications
You must be signed in to change notification settings - Fork 10
Labels
enhancementNew feature or requestNew feature or request
Description
get-page currently supports returning no content, source, or HTML:
MediaWiki-MCP-Server/src/tools/get-page.ts
Lines 34 to 44 in ce6833d
| switch ( content ) { | |
| case ContentFormat.noContent: | |
| subEndpoint = '/bare'; | |
| break; | |
| case ContentFormat.withSource: | |
| subEndpoint = ''; | |
| break; | |
| case ContentFormat.withHtml: | |
| subEndpoint = '/with_html'; | |
| break; | |
| } |
We should add plaintext.
This might replace HTML mode. However, while the HTML is just noise as far as the actual content is concerned (e.g. for Claude to interpret the text), there might still be some other client or some other use case for doing something with the HTML.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request