Replace Wikihypelinks
replace_wikihypelinksConvert wiki-style [[Target|Label]] and [[Target]] links into plain labels or target names, returning cleaned text for Wikipedia citation analysis.
Instructions
Replace [[Target|Label]] with Label and [[Target]] with Target. Returns {"cleaned_text": "..."}.
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": {
"text": "<text>"
},
"name": "replace_wikihypelinks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||