send_diagnostics
Upload an encrypted diagnostic bundle when the operator's node has problems. The bundle is encrypted client-side with a retrieval code the operator must share with support before logs can be read. Use this when the operator reports errors, crashes, or misbehavior. The pcc-node CLI runs pcc-node logs --send locally to collect+encrypt; prefer that path when available. This tool is for agent-driven uploads when the bundle is already prepared.
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": {
"kernelId": "<kernelId>",
"encrypted": "<encrypted>"
},
"name": "send_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kernelId | Yes | Kernel ID the diagnostics came from | |
| encrypted | Yes | Encrypted bundle payload | |
| bundleHash | No | sha256 of plaintext bundle | |
| bundleSize | No | Size of encrypted payload in bytes | |
| collectedAt | No | ISO timestamp when bundle was collected | |
| logLineCount | No | How many log lines are in the bundle | |
| systemPlatform | No | e.g. Linux-5.15, Darwin-23, Windows-10 |