Math & Numbers
Conversão de condutividade térmica: W/(m·K) (base SI, =W/(m·°C)) ↔ kcal/(m·h·°C) (1=1,1627778) ↔ BTU/(h·ft·°F) (1=1,7307347). Conversão via W/(m·K), com os três equivalentes. Ref.: cobre≈401, alumínio≈237, aço≈50, água≈0,6.
Chame esta ferramenta a partir do seu código em três idiomas.
curl -X POST 'https://api.elysiatools.com/pt/api/tools/thermal-conductivity-converter' \
-H 'Content-Type: application/json' \
-d '{"inputUnit":"W/(m·K)","value":401,"outputUnit":"kcal/(m·h·°C)","decimalPlaces":6}'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/thermal-conductivity-converter| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| inputUnit | select | Não | — |
| value | number | Sim | Thermal conductivity in the selected Input unit. Must be non-negative. |
| outputUnit | select | Não | — |
| decimalPlaces | number | 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-thermal-conductivity-converter": {
"name": "thermal-conductivity-converter",
"description": "Conversão de condutividade térmica: W/(m·K) (base SI, =W/(m·°C)) ↔ kcal/(m·h·°C) (1=1,1627778) ↔ BTU/(h·ft·°F) (1=1,7307347). Conversão via W/(m·K), com os três equivalentes. Ref.: cobre≈401, alumínio≈237, aço≈50, água≈0,6.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=thermal-conductivity-converter",
"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": "thermal-conductivity-converter",
"arguments": {
"inputUnit": "W/(m·K)",
"value": 401,
"outputUnit": "kcal/(m·h·°C)",
"decimalPlaces": 6
}
}
}Dúvidas ou problemas? Contate [email protected]