counterpart_diagnostics
Counterpart contract (counterpart/1): this server's own diagnostics for a bug report, as files for the client to add to its export: the configured printers (model, serial, connection; firmware is not read), this server's settings, slicer…
Instructions
Counterpart contract (counterpart/1): this server's own diagnostics for a bug report, as files for the client to add to its export: the configured printers (model, serial, connection; firmware is not read), this server's settings, slicer path and version, CAD runtime status, recent tool errors, this run's stderr log (MQTT and connection messages). The Bambu network plug-in logs are not included. Redaction fails closed: configured secrets go in their encoded forms, JSON is redacted by key, and any log line that names a secret is withheld whole; serial numbers, error codes and whether a secret is set stay. Names, contents and notes stay within max_bytes; anything missing is listed in notes. Sends nothing to the printer.
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": "counterpart_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printer | No | Only this configured printer (its serial number or host, as this server's other tools take them). Default: every configured printer. | |
| max_bytes | No | Most bytes the whole bundle may hold (default 4194304, at most 8388608). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| notes | Yes | What is missing or left out, and why. | |
| package | Yes | This server's npm package name. | |
| version | Yes | This server's npm package version. |