HKUDS/DeepTutor · error · HTTPException
api.tool_not_found
Error message
api.tool_not_found
What it means
Error "api.tool_not_found" thrown in HKUDS/DeepTutor.
Source
Thrown at deeptutor/api/routers/plugins_api.py:120
"author": plugin.author,
}
for plugin in plugin_manifests
]
return {
"tools": tools,
"capabilities": capabilities,
"plugins": plugins,
}
@router.post("/tools/{tool_name}/execute")
async def execute_tool(tool_name: str, body: ToolExecuteRequest):
"""Execute a single tool with explicit parameters (for Playground testing)."""
registry = get_tool_registry()
tool = registry.get(tool_name)
if not tool:
raise HTTPException(status_code=404, detail=t("api.tool_not_found", name=tool_name))
try:
result = await tool.execute(**body.params)
return {
"success": result.success,
"content": result.content,
"sources": result.sources,
"metadata": result.metadata,
}
except Exception as exc:
logger.exception("Tool execution failed: %s", tool_name)
raise HTTPException(status_code=500, detail=str(exc))
def _sse(event: str, payload: dict[str, Any]) -> str:
return f"event: {event}\ndata: {json.dumps(payload, ensure_ascii=False, default=str)}\n\n"
View on GitHub (pinned to 3e82f13042)
When it happens
Trigger: Thrown at deeptutor/api/routers/plugins_api.py:120 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of HKUDS/DeepTutor@3e82f13042 (2026-08-27).
Data as JSON: /api/errors/41ca1fdb1a4ce998.
Report an issue: GitHub.