calculate_parsimony
Compute the total parsimony score of a phylogenetic tree by counting mutations from character data.
Instructions
Compute the total parsimony (number of mutations) of a tree given its characters.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dataset_id": "<dataset_id>",
"tree_key": "<tree_key>"
},
"name": "calculate_parsimony"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree_key | Yes | ||
| dataset_id | Yes | ||
| characters_key | No | characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |