Set custom filter definitions
set-prompt-filter-definitionsReplace the custom filters a domain declares. Send the complete intended list, not a patch: anything you leave out is removed. Removal is refused while prompts are still tagged with it. The current list is what list-prompt-filters returns. At most 5 filters, 50 values each; keys are lowercase letters only and value slugs lowercase alphanumeric. Confirm with the user before removing a filter.
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": {
"domain_id": "<domain_id>",
"filters": "<filters>"
},
"name": "set-prompt-filter-definitions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | Yes | The complete list, each entry { key, label, values: [{ value, label }] } | |
| domain_id | Yes | Domain ID from list-domains |