Diagnose Framework Error
diagnose_framework_errorMatch a stack trace or exception against known deprecated APIs for LangChain, LlamaIndex, Ollama, or XRPL, and return the replacement code and fix. Use when you have an error log from these frameworks.
Instructions
Match a stack trace or exception against known deprecated APIs for langchain, llamaindex, ollama, or xrpl and return the replacement plus a fix. Use only when you have an error_log; matched=false means no catalog hit — then search_ai_framework_docs with the failing symbol. Lint source before it crashes with review_framework_code. Not for happy-path syntax (fetch_latest_syntax). Paid tools/call: $0.001 USDC or 1000 drops XRP; read-only, does not execute code.
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": {
"framework": "<framework>",
"error_log": "<error_log>"
},
"name": "diagnose_framework_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error_log | Yes | Raw traceback or exception text. Paste the error, not a question about it | |
| framework | Yes | One of langchain, llamaindex, ollama, or xrpl — the library that threw the error |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hints | Yes | ||
| matched | Yes | ||
| matches | Yes | ||
| framework | Yes |