start_gcode_interception
Start a real-time G-code interception session for a 3D printer to enforce safety rules such as temperature limits, feedrate caps, and blocked commands before unsafe commands execute.
Instructions
Start a real-time G-code interception session for a printer.
Automatically loads safety-profile-based rules (temperature limits,
feedrate caps, blocked commands) for the printer. Use
``add_interception_rule`` to add custom rules after starting.
Args:
printer_name: The printer, as registered in Kiln or by its model
key (e.g. ``"bambu_a1"``); a model key gives the fullest rule
set, a nickname Kiln cannot resolve to a model loads generic
limits and says so in ``coverage_warnings``.
Returns a session ID and initial rule set.
AGENT CONTRACT: when ``coverage_warnings`` is non-empty this session
is running with reduced protection (generic temperature limits, or no
bed-fit rules because the build volume is unknown). Relay those
warnings to the user verbatim -- do not present the session as fully
protected. Passing the printer's model key (e.g. "bambu_a1") instead
of a nickname resolves the gap.
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": {
"printer_name": "<printer_name>"
},
"name": "start_gcode_interception"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printer_name | Yes | The printer, as registered in Kiln or by its model key (e.g. ``"bambu_a1"``); a model key gives the fullest rule set, a nickname Kiln cannot resolve to a model loads generic limits and says so in ``coverage_warnings``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||