mediawiki_parse
Parse wikitext into rendered HTML to preview wiki markup and test syntax before saving.
Instructions
Parse wikitext and return rendered HTML.
USE WHEN: User wants to preview wikitext rendering, test markup syntax.
PARAMETERS:
wikitext: Wikitext content to parse (required)
title: Context page title for link resolution (optional)
RETURNS: Rendered HTML output.
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": {
"wikitext": "<wikitext>"
},
"name": "mediawiki_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Page title for context (affects template expansion) | |
| wikitext | Yes | Wikitext content to parse | |
| rationale | No | Optional one-sentence explanation of why you are calling this tool. Used for audit trails when present. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| links | No | ||
| message | No | ||
| truncated | No | ||
| categories | No |