palace_check_duplicate
Checks whether content already exists in the palace before filing, comparing it against stored memory with a configurable similarity threshold to prevent duplicates.
Instructions
Check if content already exists in the palace before filing
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": {
"content": "<content>"
},
"name": "palace_check_duplicate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content to check | |
| threshold | No | Similarity threshold 0-1 (default 0.9) |