Development
Carregue qualquer arquivo binário e inspecione-o como um dump hex clássico com offset, bytes hex e colunas ASCII (somente leitura)
Chame esta ferramenta a partir do seu código em três idiomas.
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/hex-editor' \
-H 'Content-Type: application/json' \
-d '{"filename":"file.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/pt/api/tools/hex-editor' \
-F 'file=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'bytesPerLine=16' \
-F 'maxBytes=65536' \
-F 'showASCII=true' \
-F 'uppercaseHex=true' \
-F 'highlightNull=false'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/hex-editor| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| file | fileupload necessário | Sim | — |
| bytesPerLine | select | Não | — |
| maxBytes | number | Não | — |
| showASCII | checkbox | Não | — |
| uppercaseHex | checkbox | Não | — |
| highlightNull | checkbox | Não | — |
Resultado HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}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-hex-editor": {
"name": "hex-editor",
"description": "Carregue qualquer arquivo binário e inspecione-o como um dump hex clássico com offset, bytes hex e colunas ASCII (somente leitura)",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=hex-editor",
"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": "hex-editor",
"arguments": {
"file": "https://example.com/file.ext",
"bytesPerLine": "16",
"maxBytes": 65536,
"showASCII": true,
"uppercaseHex": true,
"highlightNull": false
}
}
}Dúvidas ou problemas? Contate [email protected]