Security
Vuelve a cifrar un bundle AGEX con una nueva contrasena y nuevos parametros Argon2id/XChaCha
Llama a esta herramienta desde tu código en tres lenguajes.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/agex-bundle-rewrapper' \
-F 'file=@/path/to/bundleFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/es/api/tools/agex-bundle-rewrapper' \
-F 'bundleFile=/public/processing/example.agex.json' \
-F 'currentPassphrase=old-passphrase-123' \
-F 'newPassphrase=new-passphrase-456' \
-F 'strength=moderate' \
-F 'signerId=Optional signer label for the new bundle' \
-F 'signerPrivateKey=Optional base64 Ed25519 secret key used to sign the rewrapped bundle'Envía una petición POST con tus entradas en JSON. Los parámetros de tipo archivo requieren una subida previa.
POST https://api.elysiatools.com/es/api/tools/agex-bundle-rewrapper| Nombre | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| bundleFile | filesubida requerida | Sí | — |
| currentPassphrase | text | Sí | — |
| newPassphrase | text | Sí | — |
| strength | select | Sí | — |
| signerId | text | No | — |
| signerPrivateKey | textarea | No | — |
Resultado JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Añade esta herramienta a tu servidor Model Context Protocol para que los agentes de IA puedan listarla y llamarla.
Añade este bloque a la configuración de tu cliente MCP:
{
"mcpServers": {
"elysiatools-agex-bundle-rewrapper": {
"name": "agex-bundle-rewrapper",
"description": "Vuelve a cifrar un bundle AGEX con una nueva contrasena y nuevos parametros Argon2id/XChaCha",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=agex-bundle-rewrapper",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Tras conectar al endpoint SSE, lista las herramientas expuestas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoca la herramienta por su id; los argumentos se construyen a partir de sus parámetros:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "agex-bundle-rewrapper",
"arguments": {
"bundleFile": "/public/processing/example.agex.json",
"currentPassphrase": "old-passphrase-123",
"newPassphrase": "new-passphrase-456",
"strength": "moderate",
"signerId": "Optional signer label for the new bundle",
"signerPrivateKey": "Optional base64 Ed25519 secret key used to sign the rewrapped bundle"
}
}
}¿Dudas o problemas? Contacta con [email protected]