Test an MPB regex
mpb_test_regexTests a regular expression against a sample string using MPB's regex engine, matching the check used for metric and property extraction in the MPB UI.
Instructions
Runs a regular expression against a sample string with MPB's own regex engine, the same check the MPB UI uses for metric/property extraction.
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": {
"regex": "<regex>",
"sample": "<sample>"
},
"name": "mpb_test_regex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regex | Yes | ||
| sample | Yes |