Security
Injecte des champs de filigrane visibles ou signatures dans des exports CSV ou JSON pour la tracabilite
Appelez cet outil depuis votre code en trois langages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/csv-json-data-watermarker' \
-F 'file=@/path/to/dataFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/fr/api/tools/csv-json-data-watermarker' \
-F 'dataInput=id,email,plan
1,[email protected],pro
2,[email protected],basic' \
-F 'dataFile=' \
-F 'inputFormat=csv' \
-F 'watermarkMode=visible' \
-F 'username=partner-share-001' \
-F 'customField=sales-demo' \
-F 'secretSalt=elysia-watermark'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/csv-json-data-watermarker| Nom | Type | Requis | Description |
|---|---|---|---|
| dataInput | textarea | Non | — |
| dataFile | fileupload requis | Non | — |
| inputFormat | select | Non | — |
| watermarkMode | select | Non | — |
| username | text | Oui | — |
| customField | text | Non | — |
| secretSalt | text | Non | — |
Résultat fichier
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}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-csv-json-data-watermarker": {
"name": "csv-json-data-watermarker",
"description": "Injecte des champs de filigrane visibles ou signatures dans des exports CSV ou JSON pour la tracabilite",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=csv-json-data-watermarker",
"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": "csv-json-data-watermarker",
"arguments": {
"dataInput": "id,email,plan\n1,[email protected],pro\n2,[email protected],basic",
"dataFile": "",
"inputFormat": "csv",
"watermarkMode": "visible",
"username": "partner-share-001",
"customField": "sales-demo",
"secretSalt": "elysia-watermark"
}
}
}Des questions ou un problème ? Contactez [email protected]