{"record":{"id":"1584c6ace98c3f82","repo":"microsoft/semantic-kernel","slug":"computer-use-tool-is-not-implemented-yet","errorCode":null,"errorMessage":"Computer use tool is not implemented yet.","messagePattern":"Computer use tool is not implemented yet\\.","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"python/semantic_kernel/agents/open_ai/openai_responses_agent.py","lineNumber":720,"sourceCode":"                - The country field is a two-letter ISO country code, like US.\n                - The timezone field is an IANA timezone like America/Seattle.\n\n        Returns:\n            A WebSearchToolParam dictionary with any passed-in parameters.\n        \"\"\"\n        tool: WebSearchToolParam = {\n            \"type\": \"web_search\",\n        }\n        if context_size is not None:\n            tool[\"search_context_size\"] = context_size\n        if user_location is not None:\n            tool[\"user_location\"] = user_location\n        return tool\n\n    @staticmethod\n    def configure_computer_use_tool() -> ComputerToolParam:\n        \"\"\"Generate the tool definition for computer use.\"\"\"\n        raise NotImplementedError(\"Computer use tool is not implemented yet.\")\n\n    @staticmethod\n    def _generate_structured_output_response_format_schema(name: str, schema: dict) -> dict:\n        \"\"\"Mock function to simulate formatting the final schema with 'strict' = True.\"\"\"\n        return {\"type\": \"json_schema\", \"name\": name, \"schema\": schema, \"strict\": True}\n\n    @staticmethod\n    def configure_response_format(\n        response_format: ResponseFormatUnion\n        | dict[Literal[\"type\"], Literal[\"text\", \"json_object\"]]\n        | dict[str, Any]\n        | type[BaseModel]\n        | type\n        | None = None,\n    ) -> dict[str, Any] | None:\n        \"\"\"Form the response format.\n\n            {","sourceCodeStart":702,"sourceCodeEnd":738,"githubUrl":"https://github.com/microsoft/semantic-kernel/blob/c028a0c7dc4f0814cdcbaba9d998f187a41197bf/python/semantic_kernel/agents/open_ai/openai_responses_agent.py#L702-L738","documentation":"Raised by configure_computer_use_tool(), which is a declared static method but unconditionally raises NotImplementedError. The Responses Agent exposes the method signature for API parity, but the computer-use tool is not yet wired up. This is intentional: callers get a clear signal rather than silent behavior.","triggerScenarios":"Any call to OpenAIResponsesAgent.configure_computer_use_tool(). There is no input that succeeds — the method body is solely `raise NotImplementedError(...)`.","commonSituations":"Copy-pasting tool-configuration code from an OpenAI Assistants/Responses example that includes computer use, or enumerating available tools programmatically and invoking each configurator. Also hit when following docs that preview the API surface.","solutions":["Do not call configure_computer_use_tool(); it is not implemented in this version.","Remove the computer-use tool from your tool list until the feature ships.","Check the semantic_kernel changelog/release notes for when computer-use support lands.","If you need computer use now, call the OpenAI Responses API directly outside the agent abstraction."],"exampleFix":"// before\ntools = [OpenAIResponsesAgent.configure_computer_use_tool()]\n\n// after\ntools = []  # computer use unavailable; omit it","handlingStrategy":"type-guard","validationCode":"# There is no valid call; guard against invoking it at all\nimport semantic_kernel.agents.open_ai.openai_responses_agent as m\nassert not hasattr(m.OpenAIResponsesAgent, 'configure_computer_use_tool') or True  # informational","typeGuard":"def computer_use_available() -> bool:\n    return False  # not implemented in current version","tryCatchPattern":"try:\n    tool = OpenAIResponsesAgent.configure_computer_use_tool()\nexcept NotImplementedError:\n    tool = None  # feature not shipped; skip computer use","preventionTips":["Do not call configure_computer_use_tool(); it always raises NotImplementedError.","Gate any computer-use code path behind a feature flag until it ships.","Track the semantic_kernel release notes for computer-use support."],"tags":["not-implemented","tools","computer-use"],"backgroundTag":null,"analyzedSha":"c028a0c7dc4f0814cdcbaba9d998f187a41197bf","analyzedAt":"2026-08-13T13:48:05.040Z","schemaVersion":2},"datasetVersion":"2026-08-13T14:17:21.547Z"}