entity_create_definition
Build a custom Maltego .entity XML definition with fields and metadata, then optionally write it safely within the configured workspace directory.
Instructions
Build a custom Maltego .entity XML definition and optionally write it safely within the configured workspace directory.
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": {
"id": "<id>",
"displayName": "<displayName>",
"primaryProperty": "<primaryProperty>"
},
"name": "entity_create_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Entity type ID (e.g. custom.ApiKey). | |
| fields | No | Field schema definitions. | |
| category | No | Entity category (default: Custom). | |
| overwrite | No | Overwrite outputPath if it already exists (default: false). | |
| outputPath | No | Optional path (relative to workspaceDir or within workspaceDir) ending in .entity to write the XML file. | |
| allowedRoot | No | Whether entity can be a graph root (default: true). | |
| description | No | Entity description. | |
| displayName | Yes | Singular display name. | |
| baseEntities | No | Optional list of parent entity IDs. | |
| converterRegex | No | Optional regex for <Converter><Value> CDATA. | |
| conversionOrder | No | Conversion order integer >= 0 (default: 2147483647). | |
| primaryProperty | Yes | Primary value property name (e.g. apikey.value). | |
| displayNamePlural | No | Plural display name (defaults to <displayName>s). | |
| largeIconResource | No | Icon resource name (default: Generic). | |
| converterRegexGroups | No | Optional regex capture group property names. | |
| displayValueProperty | No | Optional separate display value property name. |