run_tcl
Execute custom VMD Tcl scripts headlessly, capturing stdout, stderr, and marker-line outputs for analysis not covered by dedicated tools.
Instructions
Run an ARBITRARY VMD Tcl script headlessly and return its combined
stdout/stderr plus any parsed @@VMDMCP@@ marker lines.
Emit results from your script with: puts "@@VMDMCP@@ key=value ...".
Use this for any analysis not covered by a dedicated tool (measure hbonds,
measure contacts, custom per-residue loops, cluster analysis, ...).
End the script with quit.
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": {
"script": "<script>"
},
"name": "run_tcl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| timeout | No |