Science & Education
Calcula escala, campo de visão, limites de difração e amostragem de Nyquist, com barra SVG transparente.
Chame esta ferramenta a partir do seu código em três idiomas.
curl -X POST 'https://api.elysiatools.com/pt/api/tools/microscope-scale-bar-calibrator' \
-H 'Content-Type: application/json' \
-d '{"imageWidthPx":2048,"imageHeightPx":1536,"cameraPixelSizeUm":3.45,"objectiveMagnification":40,"relayMagnification":1,"binning":1,"wavelengthNm":550,"numericalAperture":1,"barLengthUm":20,"barColor":"#ffffff","barPosition":"bottom-right","barThicknessPx":8,"barMarginPx":32,"showLabel":true}'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/microscope-scale-bar-calibrator| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| imageWidthPx | number | Sim | — |
| imageHeightPx | number | Sim | — |
| cameraPixelSizeUm | number | Sim | — |
| objectiveMagnification | number | Sim | — |
| relayMagnification | number | Sim | — |
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-microscope-scale-bar-calibrator": {
"name": "microscope-scale-bar-calibrator",
"description": "Calcula escala, campo de visão, limites de difração e amostragem de Nyquist, com barra SVG transparente.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=microscope-scale-bar-calibrator",
"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": "microscope-scale-bar-calibrator",
"arguments": {
"imageWidthPx": 2048,
"imageHeightPx": 1536,
"cameraPixelSizeUm": 3.45,
"objectiveMagnification": 40,
"relayMagnification": 1,
"binning": 1,
"wavelengthNm": 550,
"numericalAperture": 1,
"barLengthUm": 20,
"barColor": "#ffffff",
"barPosition": "bottom-right",
"barThicknessPx": 8,
"barMarginPx": 32,
"showLabel": true
}
}
}| binning | number | Sim | — |
| wavelengthNm | number | Sim | — |
| numericalAperture | number | Sim | — |
| barLengthUm | number | Não | — |
| barColor | color | Não | — |
| barPosition | select | Não | — |
| barThicknessPx | number | Não | — |
| barMarginPx | number | Não | — |
| showLabel | checkbox | Não | — |
Resultado HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Dúvidas ou problemas? Contate [email protected]