modify_transition
Modify specific attributes of an existing Petri net transition—name, distribution, delays, priority, or probability—by providing the transition ID and only the fields to change.
Instructions
Modify an existing transition in the Petri net.
Only provided fields are updated — omitted fields stay unchanged. Use list_elements or get_network_status to discover transition IDs first.
Args: transition_id: ID of the transition to modify (e.g. "t3") name: New name (omit to keep current) distribution: New distribution ("exp", "norm", "unif", "det") — omit to keep current mean_delay: New mean delay in time_unit (omit to keep current) standard_deviation: New std deviation in time_unit (omit to keep current) priority: New firing priority — higher number fires first in conflict (omit to keep current) probability: New firing probability 0.0-1.0 (omit to keep current) time_unit: Unit for time values — "s", "min", "h"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transition_id | Yes | ||
| name | No | ||
| distribution | No | ||
| mean_delay | No | ||
| standard_deviation | No | ||
| priority | No | ||
| probability | No | ||
| time_unit | No | s |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |