Create Python metric preview
create_python_metric_previewStart an asynchronous preview of an immutable Python metric draft using simulation output IDs; poll until terminal before publishing.
Instructions
Start an asynchronous preview of an immutable Python metric draft. Preview execution is asynchronous; poll the preview until it reaches a terminal state. Publish only after successful previews.
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": {
"draft_id": "<draft_id>",
"simulation_output_ids": "<simulation_output_ids>"
},
"name": "create_python_metric_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | The immutable Python metric draft ID. | |
| simulation_output_ids | Yes |