{"id":"html_lang","name":"HTML Lang","alias":"HtmlLang","aliases":[],"description_short":"Get the language of a given HTML page (BCP47 format)","description_long":"A simple agent that returns the language of a given HTML page (BCP47 format).\nFirst, we try to read the lang attribute on the html tag.\nIf we don't find it, extract the text from the html and ask to a LLM.","description_tool_prompt":"A simple agent that returns the language of a given HTML page (BCP47 format).\nFirst, we try to read the lang attribute on the html tag.\nIf we don't find it, extract the text from the html and ask to a LLM.","source":null,"conversation_examples":[],"tags":[],"available_in_chat":false,"available_in_deepthink":false,"available_in_mcp":null,"mcp_audience":"all","config":{"type":"object","properties":{"default_to":{"default":"","description":"If we don't find, return this value (if not empty) instead of an error.","title":"Default To","type":"string"}},"required":[]},"item":{"type":"object","properties":{"html_code":{"description":"HTML code of the page to process","title":"Html Code","type":"string"}},"required":["html_code"]},"response":{"properties":{"bcp47_lang_code":{"description":"BCP47 language code of the page","title":"Bcp47 Lang Code","type":"string"},"source":{"description":"Source of the language code (html_attribute, llm or default)","title":"Source","type":"string"}},"required":["bcp47_lang_code","source"],"title":"HtmlLangProcessedItem","type":"object"},"has_canvas":false,"open_canvas_automatically":false}