Text Processing
Run the UAX #9 Unicode bidirectional algorithm rule by rule — X1–X8 embedding levels, isolating run sequences, BD16 paired brackets with N0, W/N/I resolution and L1/L2/L4 reordering — and inspect every intermediate state.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/unicode-bidi-paired-bracket-isolate-embedding-cf-rule-explainer' \
-H 'Content-Type: application/json' \
-d '{"text":"<RLI>abc אבג def.<PDI>","direction":"auto"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/unicode-bidi-paired-bracket-isolate-embedding-cf-rule-explainer| Name | Type | Required | Description |
|---|---|---|---|
| text | textarea | Yes | — |
| direction | select | Yes | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}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-unicode-bidi-paired-bracket-isolate-embedding-cf-rule-explainer": {
"name": "unicode-bidi-paired-bracket-isolate-embedding-cf-rule-explainer",
"description": "Run the UAX #9 Unicode bidirectional algorithm rule by rule — X1–X8 embedding levels, isolating run sequences, BD16 paired brackets with N0, W/N/I resolution and L1/L2/L4 reordering — and inspect every intermediate state.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=unicode-bidi-paired-bracket-isolate-embedding-cf-rule-explainer",
"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": "unicode-bidi-paired-bracket-isolate-embedding-cf-rule-explainer",
"arguments": {
"text": "<RLI>abc אבג def.<PDI>",
"direction": "auto"
}
}
}Questions or issues? Contact [email protected]