filter_attribute_values
Filter event logs by attribute values, removing individual events or entire cases, and choose to keep or drop matching rows.
Instructions
Filter a log by event or case attribute values.
level='event' removes individual events; level='case' removes
entire cases. retain=True keeps the matching rows; False drops
them. The level parameter is passed explicitly to avoid PM4Py's
deprecation warning when it defaults to None.
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": {
"log_id": "<log_id>",
"attribute": "<attribute>",
"values": "<values>"
},
"name": "filter_attribute_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | event | |
| log_id | Yes | ||
| retain | No | ||
| values | Yes | ||
| attribute | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||