xml_to_pyrosetta
Translate RosettaScripts XML protocols into PyRosetta Python code for computational protein design and analysis.
Instructions
Translate RosettaScripts XML to equivalent PyRosetta Python code. Supports 37 element types including movers, filters, selectors, and task operations. Use when converting XML protocols to Python.
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": {
"xml_content": "<xml_content>"
},
"name": "xml_to_pyrosetta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | Yes | RosettaScripts XML content to translate | |
| include_comments | No | Include detailed comments in output (default: true) | |
| output_format | No | Output format (default: python) |