Math & Numbers
Calcule le pH des solutions tampon selon l équation de Henderson-Hasselbalch, ou détermine le rapport nécessaire pour un pH cible. Inclut les systèmes tampons courants (acétate, phosphate, Tris, HEPES, etc.).
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/ph-buffer-calculator' \
-H 'Content-Type: application/json' \
-d '{"mode":"find-ph","bufferSystem":"phosphate","pKa":7.21,"acidConc":0.1,"baseConc":0.1,"targetPh":7.4,"totalConc":0.1,"temperature":25,"decimalPlaces":3}'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/ph-buffer-calculator| Nom | Type | Requis | Description |
|---|---|---|---|
| mode | select | Non | — |
| bufferSystem | select | Non | — |
| pKa | number | Non | Required for Custom buffer; auto-filled for presets (you can still override). |
| acidConc | number | Non | Concentration of the weak acid (protonated) form. |
| baseConc | number | Non | Concentration of the conjugate base (deprotonated) form. |
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-ph-buffer-calculator": {
"name": "ph-buffer-calculator",
"description": "Calcule le pH des solutions tampon selon l équation de Henderson-Hasselbalch, ou détermine le rapport nécessaire pour un pH cible. Inclut les systèmes tampons courants (acétate, phosphate, Tris, HEPES, etc.).",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=ph-buffer-calculator",
"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": "ph-buffer-calculator",
"arguments": {
"mode": "find-ph",
"bufferSystem": "phosphate",
"pKa": 7.21,
"acidConc": 0.1,
"baseConc": 0.1,
"targetPh": 7.4,
"totalConc": 0.1,
"temperature": 25,
"decimalPlaces": 3
}
}
}| targetPh | number | Non | Used in 'Find ratio' mode. |
| totalConc | number | Non | Used in 'Find ratio' mode to split acid/base amounts. |
| temperature | number | Non | Tris pKa is corrected for temperature; other buffers use the 25 °C value. |
| decimalPlaces | number | Non | — |
Résultat JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Des questions ou un problème ? Contactez [email protected]