label_clades
Partition a phylogenetic tree into clades at a specified depth and label each clade in the dataset for downstream analysis.
Instructions
Partition a tree into clades at a given depth; labels written to obs[key_added].
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": "label_clades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| tree_key | Yes | ||
| key_added | No | clade | |
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |