Tokyo stocks finished slightly higher on August 4, with the Nikkei 225 closing at 63,957.53. The benchmark added 202.63 points, or 0.32%, as gains in selected technology names helped keep the market in positive territory.

Support came from buying in artificial intelligence and semiconductor-related shares. That demand helped offset a more cautious mood among investors, who remained alert to the possibility of further yen-buying intervention.

The move suggests that interest in AI-linked and chip stocks continues to provide an important source of support for Japanese equities. Even so, currency concerns limited broader risk-taking and kept the overall advance relatively modest.

With those two forces pulling in opposite directions, the Nikkei ended the session with only a narrow gain. The result reflected a market balancing enthusiasm for AI and semiconductor plays against uncertainty tied to the yen and possible official action.