Math & Numbers
Conversion du coefficient d'échange convectif (h) : W/(m²·K) (base SI, =W/(m²·°C)) ↔ kcal/(m²·h·°C) (1=1,1627778). Conversion via W/(m²·K) vers la cible, avec les deux équivalents. Plages : air naturel≈5–25, air forcé≈25–250, eau naturelle≈100–1000, ébullition/condensation≈2500–50000+.
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/heat-transfer-coefficient-converter' \
-H 'Content-Type: application/json' \
-d '{"inputUnit":"W/(m²·K)","value":50,"outputUnit":"kcal/(m²·h·°C)","decimalPlaces":6}'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/heat-transfer-coefficient-converter| Nom | Type | Requis | Description |
|---|---|---|---|
| inputUnit | select | Non | — |
| value | number | Oui | Heat transfer coefficient in the selected Input unit. Must be non-negative. |
| outputUnit | select | Non | — |
| decimalPlaces | number | Non | — |
Résultat JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-heat-transfer-coefficient-converter": {
"name": "heat-transfer-coefficient-converter",
"description": "Conversion du coefficient d'échange convectif (h) : W/(m²·K) (base SI, =W/(m²·°C)) ↔ kcal/(m²·h·°C) (1=1,1627778). Conversion via W/(m²·K) vers la cible, avec les deux équivalents. Plages : air naturel≈5–25, air forcé≈25–250, eau naturelle≈100–1000, ébullition/condensation≈2500–50000+.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=heat-transfer-coefficient-converter",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "heat-transfer-coefficient-converter",
"arguments": {
"inputUnit": "W/(m²·K)",
"value": 50,
"outputUnit": "kcal/(m²·h·°C)",
"decimalPlaces": 6
}
}
}Des questions ou un problème ? Contactez [email protected]