PurposeTechnical knowledge is a key factor in firm innovation. This study aims to construct a theoretical framework of technological boundary-spanning search, exploratory innovation and exploitative innovation to help firms adjust their search strategies and improve the effect of external resources on internal innovation.Design/methodology/approachThe study uses questionnaires to collect data and conducts empirical analysis using SPSS25 and AMOS24.FindingsTechnological boundary-spanning search is positively correlated with ambidextrous innovation. Additionally, knowledge base positively moderates the effect of technological boundary-spanning search on ambidextrous innovation and knowledge distance negatively moderates the effect of technological boundary-spanning search on ambidextrous innovation. When a firm’s knowledge base is robust, its ambidextrous innovation can benefit more from technological boundary-spanning search. Additionally, when the knowledge distance is less, a firm’s ambidextrous innovation can benefit more from technological boundary-spanning search.Originality/valueConsidering organizational ambidexterity, this study divides firm innovation into exploratory innovation and exploitative innovation and presents a theoretical framework for the effect of technological boundary-spanning search on ambidextrous innovation. Additionally, it provides a comprehensive understanding of the crucial roles of knowledge base and knowledge distance in the relationship between technological boundary-spanning search and exploratory and exploitative innovation.