st.regex.configure
Create, update, enable, disable, or delete global SillyTavern regex scripts with confirmation to control text transformations.
Instructions
Create, update, enable/disable, or delete a global ST regex script. Requires confirm: true.
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": {
"name": "<name>"
},
"name": "st.regex.configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| action | No | ||
| confirm | No | ||
| enabled | No | ||
| maxDepth | No | ||
| minDepth | No | ||
| findRegex | No | ||
| runOnEdit | No | ||
| placements | No | ||
| promptOnly | No | ||
| trimStrings | No | ||
| markdownOnly | No | ||
| replaceString | No | ||
| snapshotLabel | No | ||
| substituteRegex | No |