Text Processing
Insère aléatoirement des emojis dans le texte - avant ou après les phrases
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/text-emoji-injector' \
-H 'Content-Type: application/json' \
-d '{"textInput":"Enter text to inject emojis into...","insertPosition":"after","insertionFrequency":50,"emojiType":"happy","maxEmojisPerSentence":2,"preserveNewlines":true}'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/text-emoji-injector| Nom | Type | Requis | Description |
|---|---|---|---|
| textInput | textarea | Oui | — |
| insertPosition | select | Oui | — |
| insertionFrequency | range | Oui | — |
| emojiType | select | Oui | — |
| maxEmojisPerSentence | range | Oui | — |
Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-text-emoji-injector": {
"name": "text-emoji-injector",
"description": "Insère aléatoirement des emojis dans le texte - avant ou après les phrases",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=text-emoji-injector",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "text-emoji-injector",
"arguments": {
"textInput": "Enter text to inject emojis into...",
"insertPosition": "after",
"insertionFrequency": 50,
"emojiType": "happy",
"maxEmojisPerSentence": 2,
"preserveNewlines": true
}
}
}Des questions ou un problème ? Contactez [email protected]
| preserveNewlines |
| checkbox |
| Non |
| — |
Résultat texte
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}