Set a prompt's custom filters
update-prompt-filtersSet the custom filter values on an existing prompt. Merges: keys you omit keep their current value, and a key sent as "-" is cleared. The declared keys and their valid values are the ones list-prompt-filters returns; an undeclared key or value is refused rather than dropped. Prompt text is immutable; move-prompt-to-topic changes the topic and archive-prompt / restore-prompt change the status.
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": {
"prompt_id": "<prompt_id>",
"filters": "<filters>"
},
"name": "update-prompt-filters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | Yes | Filter key to value slug, e.g. {"product":"ill","commercial":"yes"}. Send "-" as the value to clear a key. | |
| prompt_id | Yes | Prompt ID from get-prompt-scores |