Application Update
application_updateModify a custom application by renaming it, changing its description, or adding/removing file rules; previews requests by default and requires confirmation to delete rules.
Instructions
Update a custom application: rename / change description (PUT Application/ApplicationUpdateById), add file rules (POST ApplicationFile/ApplicationFileInsert, one request per rule) and/or remove rules by applicationFileId (POST ApplicationFile/ApplicationFileDeleteById, one request per rule). The current app is read first so an omitted description is preserved rather than wiped. Each rule is a list of conditions (full_path / process_path / created_by / cert combinable; hash or sha256 standalone). Removing rules requires confirm=true. dry_run defaults to TRUE and returns every request that would be sent. 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>"
},
"name": "application_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| confirm | No | Required (true) in addition to dry_run=false for destructive operations. Ignored during a dry run. | |
| 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. | |
| add_rules | No | ||
| description | 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. | |
| remove_rule_ids | No | applicationFileId values to delete. |