Review Framework Code
review_framework_codeScan source code for deprecated APIs in LangChain, LlamaIndex, Ollama, or XRPL and receive each hit with a replacement and unified-diff hunk. Use before running agent-written code to avoid failures.
Instructions
Scan source against known dead APIs (LLMChain, initialize_agent, ServiceContext, ripple-lib, …) and return each hit with replacement plus a unified-diff hunk. Use before running agent-written code; diagnose_framework_error is for after a stack trace. Does not execute or submit. Paid tools/call: $0.001 USDC or 1000 drops XRP; catalog-backed, not LLM-invented.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Source to lint before running. Not a stack trace (use diagnose_framework_error) | |
| filename | No | Optional path used only in unified-diff headers | |
| framework | Yes | One of langchain, llamaindex, ollama, or xrpl — the library the snippet is written against |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hints | Yes | ||
| issues | Yes | ||
| matched | Yes | ||
| framework | Yes | ||
| issueCount | Yes |