create_word_list_detector
Creates a DLP word list detector for use in Chrome DLP rules. After creation, reference the detector's resource name in a rule condition with the matches_detector function.
Instructions
Creates a new DLP word list detector. Detectors are building blocks for DLP rules. After creating a detector, you must reference its resource name in a 'create_chrome_dlp_rule' condition (e.g., using the 'matches_detector' function).
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": {
"displayName": "<displayName>",
"words": "<words>"
},
"name": "create_word_list_detector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| words | Yes | A list of words to match. Total character count across all words must be 12500 or less. | |
| customerId | No | The Chrome customer ID (e.g. C012345) | |
| description | No | An optional description for the detector. | |
| displayName | Yes | The display name for the detector. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detector | Yes |