Policy tools embody policy concepts and are essential to achieving policy objectives. The effective allocation of policy tools directly impacts the effectiveness of community governance and determines the modernization process of grassroots governance. We aim to analyze the logic of community governance policy tool selection, and then provide assistance for the modernization of grassroots governance. We selected 100 national and provincial government work reports and 63 policy documents related to community governance during China's "12th Five-Year Plan" to "14th Five-Year Plan" period as analysis samples. And build an analysis framework based on the three dimensions of time, space, and tools. We used Nvivo.20 software for text encoding analysis. Based on the model framework, we analyze the results as follows. From the perspective of the time dimension, among the five types of policy tools, the proportion of command-type policy tools used showed a downward trend, from 88.16% in the 12th Five-Year Plan to 83.50% in the 14th Five-Year Plan. However, motivation-type and persuasion-type tools showed an upward trend, rising from 1.34% and 5.26% in the 12th Five-Year Plan period to 3.40% and 8.74% in the 14th Five-Year Plan respectively. The system-change-type policy tools decreased from 1.32% in the 12th Five-Year Plan to 0.97% in the 14th Five-Year Plan. The proportion of capacity-building-type policy tools has gradually increased from 2.63% in the 12th Five-Year Plan to 4.85% in the 14th Five-Year Plan. From the perspective of spatial dimension, apart from command and persuasion policy tools, the usage frequency of the other three types of policy tools in the three major regions all display a "growth-decline-growth" trend. From the perspective of tool dimension, command-type policy tools are dominant in China's community governance, with a cumulative frequency of 1405 times and a high proportion of 81.75%. Apart from command policy tools, persuasive policy tools and capacity-building policy tools have a relatively high proportion, with usage frequencies of 186 and 78 respectively. We found that current community governance policy tools mainly consist of command tools. However, there is a trend towards combining tools such as command, persuasion, incentive, capacity building, and system change in the future. There is a typical contradiction between instrumental rationality and value rationality, indicating an evolution from instrumental rationality to the integration of instrumental and value rationality. This study addresses the conflict of policy tools through rational guidance of values, the rational guarantee of tools, and cooperation to achieve the goal of high-quality development of community governance.