lightning.inspect
Inspect a PyTorch Lightning model, runtime environment, or summary to diagnose issues and verify configuration.
Instructions
Inspect models or runtime environment.
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": {
"what": "<what>"
},
"name": "lightning.inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | Yes | Inspection target (model, environment, summary). | |
| model | No | Model configuration (required for model inspection). |