Security
Recriptografa um bundle AGEX com nova frase secreta e novos parametros Argon2id/XChaCha
Chame esta ferramenta a partir do seu código em três idiomas.
# 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/pt/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'Envie uma requisição POST com suas entradas em JSON. Parâmetros do tipo arquivo exigem upload prévio.
POST https://api.elysiatools.com/pt/api/tools/agex-bundle-rewrapper| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| bundleFile | fileupload necessário | Sim | — |
| currentPassphrase | text | Sim | — |
| newPassphrase | text | Sim | — |
| strength | select | Sim | — |
| signerId | text | Não | — |
| signerPrivateKey | textarea | Não | — |
Resultado JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Adicione esta ferramenta ao seu servidor Model Context Protocol para que agentes de IA possam listá-la e chamá-la.
Adicione este bloco à configuração do seu cliente MCP:
{
"mcpServers": {
"elysiatools-agex-bundle-rewrapper": {
"name": "agex-bundle-rewrapper",
"description": "Recriptografa um bundle AGEX com nova frase secreta e novos parametros Argon2id/XChaCha",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=agex-bundle-rewrapper",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Após conectar ao endpoint SSE, liste as ferramentas expostas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoque a ferramenta pelo seu id; os argumentos são construídos a partir de seus 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"
}
}
}Dúvidas ou problemas? Contate [email protected]