Application Add Sha256 Bulk
application_add_sha256_bulkAdds many SHA256 hash rules to a ThreatLocker custom application in one call, validating and de-duplicating hashes, skipping existing ones, and reporting added, failed, and skipped counts.
Instructions
Add many SHA256 hash-only rules to an existing custom application. Validates and de-duplicates the input (64-hex), skips hashes the app already has (skip_existing, default true), then sends one ApplicationFileInsert per hash in concurrent batches of batch_size (default 25) and reports added / failed / skipped counts. Up to 5,000 hashes per call. dry_run defaults to TRUE and returns the batch plan plus a sample request without sending. Writes target the configured default org unless organization_id is given explicitly.
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": {
"application_id": "<application_id>",
"sha256_list": "<sha256_list>"
},
"name": "application_add_sha256_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Note stored on each rule. | Added via threatlocker-mcp |
| dry_run | No | Default true: return the exact request(s) that would be sent and the target org, and send nothing. Pass false to execute. | |
| batch_size | No | ||
| sha256_list | Yes | ||
| skip_existing | No | ||
| application_id | Yes | Application GUID. | |
| organization_id | No | Target organization GUID for this write. Omit to target the server's configured default org (THREATLOCKER_ORG_ID). Any other org MUST be named explicitly here; write tools have no other org override. |