get-page currently supports returning no content, source, or HTML:
|
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.
get-pagecurrently supports returning no content, source, or HTML:MediaWiki-MCP-Server/src/tools/get-page.ts
Lines 34 to 44 in ce6833d
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.