modify_arc
Update an arc's weight or type in a Petri net. Specify only the fields to change; omitted fields remain unchanged.
Instructions
Modify an existing arc in the Petri net.
Only provided fields are updated — omitted fields stay unchanged. Use list_elements to discover arc IDs first.
Args: arc_id: ID of the arc to modify weight: New arc weight (omit to keep current) arc_type: New arc type — "normal", "inhibitor", or "read" (omit to keep current)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arc_id | Yes | ||
| weight | No | ||
| arc_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |