abstract_petri_net
Convert a discovered Petri net into a readable natural language description by enumerating its places, transitions, arcs, and markings.
Instructions
Describe a Petri net (from discover_petri_net) in natural language.
Wraps net_to_descr.apply(net, im, fm). Enumerates places, transitions,
arcs, and the initial / final markings. pm4py's net_to_descr has no
MAX_LEN parameter — the full description is always returned, so
truncated is always False.
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": {
"petri_id": "<petri_id>"
},
"name": "abstract_petri_net"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| petri_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||