pt_live_deploy
Deploys topology plan commands directly to a running Packet Tracer instance via HTTP or a file-based fallback.
Instructions
Sends commands directly to Packet Tracer in real time.
Requires PT open with the MCP Control Center extension installed. With the window open HTTP is used; if you close it, the file channel (Script Engine) takes over. The bridge starts by itself inside the MCP server.
Parameters:
plan_json: plan JSON (output of pt_plan_topology or pt_full_build)
plan_path: instead of plan_json, a .json file with the plan. Use it for large hand-written designs (dozens of sites);
extra_cliin the plan carries per-device IOS lines (summaries, hardening, NAT...).command_delay: delay between BATCHES in seconds (default 0.0). Commands are no longer sent one by one: they go in batches that PT runs in a single runCode, where each one carries its own try/catch. Measured against PT 9.0, creating 10 devices + links + configuring IOS in one go takes ~100 ms and the config is applied. Raise it only if your installation chokes.
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": "pt_live_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_json | No | ||
| plan_path | No | ||
| command_delay | No |