Elysia Tools Docs
ES
Idioma
ZHESPTRUFRDEEN
Volver al sitio
Explorar herramientas

Text Processing

Divisor de hilos de Twitter / X

Pega un texto largo y divídelo en un hilo numerado de X que respeta el límite de 280 caracteres. Divide por límites de palabra/oración/párrafo, añade numeración 1/N, pondera correctamente CJK y caracteres de ancho completo, cuenta las URLs como 23 caracteres y muestra una tarjeta de estilo X con medidor de caracteres.

html· Resultado HTMLAbrir herramienta

Inicio rápido

Llama a esta herramienta desde tu código en tres lenguajes.

cURL
curl -X POST 'https://api.elysiatools.com/es/api/tools/twitter-thread-splitter' \
  -H 'Content-Type: application/json' \
  -d '{"text":"Designing for latency is harder than designing for throughput. Throughput rewards batching and parallelism. Latency punishes them, because every extra hop adds queuing delay. The fastest request is the one you never make. Cache aggressively, but measure the cache hit ratio — a 50% hit rate barely helps P99. Finally, budget for failure: retries and timeouts are themselves latency sources, and they compound under load.","limit":280,"mode":"sentence","numbering":"slash","separator":"—","keepBreaks":true,"reserveUrl":true}'

© 2026 Elysia Tools. Documentación para desarrolladores.

Volver al sitioExplorar herramientas

Referencia de la API

Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.

Endpoint

HTTP
POST https://api.elysiatools.com/es/api/tools/twitter-thread-splitter

Parámetros

NombreTipoObligatorioDescripción
texttextareaSíThe text you want to split into an X thread.
limitnumberSíCharacter budget per tweet. 280 is the standard X limit (CJK and URLs are weighted per X rules).
modeselectNo—
numberingselectNo—
separatortextNoText placed between content and the numbering tag (e.g. — or a newline).
keepBreakscheckboxNo—
reserveUrlcheckboxNoWhen on, URLs count as 23 characters (X behaviour). When off, URLs count by their raw length.

Formato de respuesta

Resultado HTML

JSON
{
  "result": "<div>Processed HTML content</div>",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}

Integración MCP

Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.

Configuración del servidor

Añade este bloque a la configuración de tu cliente MCP:

mcp.json
{
  "mcpServers": {
    "elysiatools-twitter-thread-splitter": {
      "name": "twitter-thread-splitter",
      "description": "Pega un texto largo y divídelo en un hilo numerado de X que respeta el límite de 280 caracteres. Divide por límites de palabra/oración/párrafo, añade numeración 1/N, pondera correctamente CJK y caracteres de ancho completo, cuenta las URLs como 23 caracteres y muestra una tarjeta de estilo X con medidor de caracteres.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=twitter-thread-splitter",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

Listar herramientas disponibles

Tras conectar al endpoint SSE, lista las herramientas expuestas:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Llamar a esta herramienta

Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "twitter-thread-splitter",
    "arguments": {
  "text": "Designing for latency is harder than designing for throughput. Throughput rewards batching and parallelism. Latency punishes them, because every extra hop adds queuing delay. The fastest request is the one you never make. Cache aggressively, but measure the cache hit ratio — a 50% hit rate barely helps P99. Finally, budget for failure: retries and timeouts are themselves latency sources, and they compound under load.",
  "limit": 280,
  "mode": "sentence",
  "numbering": "slash",
  "separator": "—",
  "keepBreaks": true,
  "reserveUrl": true
}
  }
}
Encadena varias herramientas en una sesión con una lista toolId separada por comas, p. ej. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (máx. 20).

¿Dudas o problemas? Contacta con [email protected]

Explorar herramientas
Abrir herramienta