analyze
Diagnose code for LLM inference issues. Receive a detailed report on latency, cost, throughput, and reliability with actionable fixes.
Instructions
Analyze code for LLM inference issues using PeakInfer engine. Returns detailed report on latency, cost, throughput, and reliability with actionable fixes.
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": "analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to the code directory or file to analyze | |
| files | No | Pre-read files array [{path, content}]. If provided, skips reading from disk. | |
| fixes | No | Include code fix suggestions (default: true) | |
| benchmark | No | Include benchmark comparisons (default: true) |