Health
Calculate possible blood types for parents and children based on genetics
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/blood-type-calculator' \
-H 'Content-Type: application/json' \
-d '{"parent1Type":"A","parent1Rh":"positive","parent2Type":"B","parent2Rh":"positive"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/blood-type-calculator| Name | Type | Required | Description |
|---|---|---|---|
| parent1Type | select | Yes | — |
| parent1Rh | select | Yes | — |
| parent2Type | select | Yes | — |
| parent2Rh | select | Yes | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-blood-type-calculator": {
"name": "blood-type-calculator",
"description": "Calculate possible blood types for parents and children based on genetics",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=blood-type-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "blood-type-calculator",
"arguments": {
"parent1Type": "A",
"parent1Rh": "positive",
"parent2Type": "B",
"parent2Rh": "positive"
}
}
}Questions or issues? Contact [email protected]