e3d_execute_pml
Validate or execute PML commands in AVEVA E3D, using dry runs to check input before real execution and optional image capture for confirmed results.
Instructions
Preview or execute a PML command. dry_run=true checks input without proving valid PML or executing it. Adapters advertising pml_nested_scope run ordinary requests in independent nested scopes; inspect execution_scope and errors. Use e3d_execute_pml_script for complete scripts with IF/DO blocks. Local ! variables are not shared across requests. Real execution requires dry_run=false and E3D_MCP_ALLOW_COMMANDS=true.
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": {
"command": "<command>"
},
"name": "e3d_execute_pml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | PML command to validate or execute | |
| dry_run | No | ||
| capture_after | No | After a confirmed successful operation, return a native E3D image receipt. | |
| capture_width | No | ||
| capture_height | No | ||
| expected_session_id | No | Optional session_id from e3d_status. A supporting adapter rejects the command if the E3D session has changed (api_features includes command_session_guard). |