Text Processing
Extract inline links, reference links, and bare URLs from Markdown documents with basic syntax validation
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/markdown-link-extractor' \
-H 'Content-Type: application/json' \
-d '{"markdownInput":"Paste your Markdown content here to extract links...","linkTypes":["inline","reference","bare"],"validateUrls":true,"checkDuplicates":true,"sortBy":"position","extractAnchors":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/markdown-link-extractor| Name | Type | Required | Description |
|---|---|---|---|
| markdownInput | textarea | Yes | — |
| linkTypes | select | No | — |
| validateUrls | checkbox | No | — |
| checkDuplicates | checkbox | No | — |
| sortBy | select | No | — |
| extractAnchors |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-markdown-link-extractor": {
"name": "markdown-link-extractor",
"description": "Extract inline links, reference links, and bare URLs from Markdown documents with basic syntax validation",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=markdown-link-extractor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "markdown-link-extractor",
"arguments": {
"markdownInput": "Paste your Markdown content here to extract links...",
"linkTypes": [
"inline",
"reference",
"bare"
],
"validateUrls": true,
"checkDuplicates": true,
"sortBy": "position",
"extractAnchors": false
}
}
}Questions or issues? Contact [email protected]
| checkbox |
| No |
| Count and track links with # anchors |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}