mtgx_query_graph
Query entities and induced links in a .mtgx archive by type, value, property, bookmark, or k-hop neighborhood from an entity ID to filter and explore graph data.
Instructions
Query entities and induced links in a .mtgx archive by entity type, value substring, property match, bookmark, or k-hop BFS neighborhood from an entity_id.
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": {
"path": "<path>"
},
"name": "mtgx_query_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hops | No | Max BFS hop distance from entity_id (default 1, >= 0) | |
| path | Yes | Path to .mtgx archive | |
| type | No | Exact entity type filter (e.g. maltego.Domain) | |
| limit | No | Pagination limit (default 100, max 1000) | |
| offset | No | Pagination offset (default 0) | |
| bookmark | No | Exact bookmark color/index filter (>= 0) | |
| property | No | Filter by property ({ name, value?, substring? }) | |
| direction | No | Edge traversal direction for BFS (default 'both') | |
| entity_id | No | Seed entity ID for k-hop BFS neighborhood query | |
| has_bookmark | No | Filter entities that have any bookmark set | |
| value_substring | No | Case-insensitive substring match against entity value |