draw_tree
Convert a Newick format tree into a visual representation (ASCII text) for phylogenetic analysis. Specify the tree in Newick string and optionally choose output format to get a tree diagram.
Instructions
Draw a phylogenetic tree from Newick format.
Args: tree_newick: Tree in Newick format output_format: Output format - 'ascii' for text representation (default: 'ascii')
Returns: Dictionary containing tree visualization
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": {
"tree_newick": "<tree_newick>"
},
"name": "draw_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree_newick | Yes | ||
| output_format | No | ascii |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||