maltego_create_machine
Validate, format, and optionally write Maltego .machine DSL scripts from structured fields or raw source, enforcing balanced braces, valid transform IDs, and safe paths.
Instructions
Validate, format, and optionally write a Maltego .machine DSL script from structured fields or raw DSL source, enforcing balanced braces, valid transform IDs, and assertSafePath.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "maltego_create_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Machine ID (required when not providing raw source), e.g. 'custom.domain.recon'. | |
| paths | No | Optional paths { path { ... } } blocks. | |
| write | No | When true, write the validated .machine file to disk (default: false). | |
| author | No | Optional machine author. | |
| source | No | Raw .machine DSL script to validate and format (alternative to structured fields). | |
| target | No | Target directory for write (default: workspace; 'maltego_home' writes under config/Maltego/Machines/). | |
| overwrite | No | Allow overwriting an existing .machine file when write=true (default: false). | |
| description | No | Optional machine description. | |
| on_handlers | No | Optional event handlers: on("<event>") { run(...) }. | |
| output_path | No | Relative output path (must end with .machine) under target directory. | |
| display_name | No | Optional human-readable machine displayName. | |
| start_transforms | No | Transform IDs to invoke inside start { ... }. |