Math & Numbers
Conversion de conductivité thermique : W/(m·K) (base SI, =W/(m·°C)) ↔ kcal/(m·h·°C) (1=1,1627778) ↔ BTU/(h·ft·°F) (1=1,7307347). Conversion via W/(m·K), avec les trois équivalents. Réf. : cuivre≈401, alu≈237, acier≈50, eau≈0,6.
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/thermal-conductivity-converter' \
-H 'Content-Type: application/json' \
-d '{"inputUnit":"W/(m·K)","value":401,"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/thermal-conductivity-converter| Nom | Type | Requis | Description |
|---|---|---|---|
| inputUnit | select | Non | — |
| value | number | Oui | Thermal conductivity 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-thermal-conductivity-converter": {
"name": "thermal-conductivity-converter",
"description": "Conversion de conductivité thermique : W/(m·K) (base SI, =W/(m·°C)) ↔ kcal/(m·h·°C) (1=1,1627778) ↔ BTU/(h·ft·°F) (1=1,7307347). Conversion via W/(m·K), avec les trois équivalents. Réf. : cuivre≈401, alu≈237, acier≈50, eau≈0,6.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=thermal-conductivity-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": "thermal-conductivity-converter",
"arguments": {
"inputUnit": "W/(m·K)",
"value": 401,
"outputUnit": "kcal/(m·h·°C)",
"decimalPlaces": 6
}
}
}Des questions ou un problème ? Contactez [email protected]