cache_propose_threshold_adjust
Propose a semantic-cache similarity-threshold change for human review, creating a pending approval instead of applying it immediately.
Instructions
Propose a semantic-cache similarity-threshold change for review. Creates a pending proposal that requires human approval before any change is applied. Reasoning must be at least 20 characters.
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": {
"cache_name": "<cache_name>",
"new_threshold": "<new_threshold>",
"reasoning": "<reasoning>"
},
"name": "cache_propose_threshold_adjust"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Optional per-category override; null/undefined = global threshold | |
| reasoning | Yes | Why the change is being proposed (≥20 chars) | |
| cache_name | Yes | Name of the semantic cache (e.g. 'betterdb_scache_prod') | |
| instanceId | No | Connection ID; defaults to the active instance | |
| new_threshold | Yes | Proposed cosine-distance threshold, 0–2 |