{"record":{"id":"5bbb5764d85d88af","repo":"odysseus-dev/odysseus","slug":"no-built-in-tool-named-name-r","errorCode":null,"errorMessage":"No built-in tool named {name!r}","messagePattern":"No built-in tool named (.+?)","errorType":"http","errorClass":"HTTPException","httpStatus":404,"severity":"error","filePath":"routes/skills_routes.py","lineNumber":1207,"sourceCode":"        out.sort(key=lambda x: x[\"name\"])\n        return {\"builtin\": out, \"count\": len(out)}\n\n    @router.get(\"/builtin/{name}\")\n    async def get_builtin_skill(name: str, request: Request):\n        \"\"\"Full text of a built-in tool's instruction block — the override\n        if one is set, plus the shipped default (for the revert button).\"\"\"\n        try:\n            from src.agent_loop import TOOL_SECTIONS, get_builtin_overrides\n        except Exception as e:\n            raise HTTPException(500, str(e))\n        default = None\n        for key, raw in TOOL_SECTIONS.items():\n            names = key if isinstance(key, tuple) else (key,)\n            if name in names:\n                default = raw\n                break\n        if default is None:\n            raise HTTPException(404, f\"No built-in tool named {name!r}\")\n        overrides = get_builtin_overrides()\n        return {\n            \"name\": name,\n            \"text\": overrides.get(name, default),\n            \"default\": default,\n            \"is_overridden\": name in overrides,\n        }\n\n    @router.put(\"/builtin/{name}\")\n    async def set_builtin_override(name: str, request: Request):\n        \"\"\"Save a user override for a built-in tool's instruction block.\n        WARNING surfaced in the UI — this changes how the assistant is\n        told to use a native tool.\"\"\"\n        require_admin(request)\n        from src.agent_loop import TOOL_SECTIONS\n        valid = set()\n        for key in TOOL_SECTIONS:\n            valid.update(key if isinstance(key, tuple) else (key,))","sourceCodeStart":1189,"sourceCodeEnd":1225,"githubUrl":"https://github.com/odysseus-dev/odysseus/blob/f9235ebbf13f693a6fd29ce70b097f6ec83705bf/routes/skills_routes.py#L1189-L1225","documentation":"Error \"No built-in tool named {name!r}\" thrown in odysseus-dev/odysseus.","triggerScenarios":"Triggered when the corresponding server-side validation or runtime check at the recorded location rejects the request or operation and returns this error message to the caller.","commonSituations":"See trigger scenarios.","solutions":["Check the tool name against the list of built-in tools.","Remove or rename the reference to the unknown tool."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f9235ebbf13f693a6fd29ce70b097f6ec83705bf","analyzedAt":"2026-08-14T21:47:48.359Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}