st.chat.script_inject.configure
Create, update, or delete persistent slash-command-style prompt injections stored in chat metadata. Requires explicit confirmation for each change.
Instructions
Create, update, or delete a persistent slash-command-style prompt injection in chat_metadata.script_injects. 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": {
"avatar": "<avatar>",
"fileName": "<fileName>",
"id": "<id>"
},
"name": "st.chat.script_inject.configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| role | No | ||
| scan | No | ||
| depth | No | ||
| force | No | ||
| value | No | ||
| avatar | Yes | ||
| delete | No | ||
| filter | No | ||
| confirm | No | ||
| fileName | Yes | ||
| position | No | ||
| snapshotLabel | No |