st.prompt.set_injection
Change prompt injection behavior for specified SillyTavern targets without handling raw setting paths, using confirm and snapshot options for controlled updates.
Instructions
Change prompt injection semantics without knowing raw ST setting paths. Requires confirm: true and snapshots first.
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": {
"target": "<target>"
},
"name": "st.prompt.set_injection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| role | No | ||
| scan | No | ||
| text | No | ||
| depth | No | ||
| budget | No | ||
| preset | No | ||
| target | Yes | ||
| confirm | No | ||
| enabled | No | ||
| updates | No | ||
| interval | No | ||
| position | No | ||
| budgetCap | No | ||
| recursive | No | ||
| postHistory | No | ||
| includeNames | No | ||
| caseSensitive | No | ||
| overflowAlert | No | ||
| snapshotLabel | No | ||
| matchWholeWords | No | ||
| characterStrategy | No |