Get JS Fingerprint Similarity Counts
get_jsfingerprint_similarity_countsCount how many archived JavaScript files are similar to the one with this fingerprint_id, per similarity model (composite, CodeBERT, GraphCodeBERT, AST and handcrafted features), capped at max_count. This query can take up to 90 seconds by default.
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": {
"fingerprint_id": "<fingerprint_id>"
},
"name": "get_jsfingerprint_similarity_counts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_count | No | Stop counting at this number per model. | |
| threshold | No | Minimum similarity, 0 to 1. | |
| fingerprint_id | Yes | Numeric ID of a JavaScript fingerprint, as listed among a scan's scripts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||