Trying Out Japanese Language Support and the country Field in Web Search on Amazon Bedrock

Trying Out Japanese Language Support and the country Field in Web Search on Amazon Bedrock

For two Japanese queries, Japanese sources were returned even without specifying country. For searches using DevelopersIO Japanese article URLs as queries, the rate of returning that URL rose from 61% in August to 87%. Setting country to JP or AU changed English query results.
2026.11.29

This page has been translated by machine translation. View original

Introduction

On November 21, 2026, language expansion and the addition of a country field for Web Search on Amazon Bedrock were announced.

https://aws.amazon.com/about-aws/whats-new/2026/11/web-search-amazon-bedrock/

The newly supported languages are Spanish, French, German, Italian, Japanese, and English for regions outside the United States.
If you pass an ISO 3166-1 alpha-2 country code (such as JP) in the country field, the search results are said to be tailored to the specified region.

This article presents the results of passing a Japanese query to AgentCore's Web Search, and the results of passing country.

Test Environment

  • Region: Tokyo (ap-northeast-1)
  • aws-cli: 2.42.4
  • Number of results: 5 (--max-results 5)
  • IAM action: bedrock-agentcore:InvokeWebSearch
  • IAM resource: arn:aws:bedrock-agentcore:<Region>:aws:tool/web-search.v1

How to Invoke

Pass the search query and --user-location country=XX to invoke-web-search. The commands to run with the Japanese query "passport renewal online method" are as follows.

Without country:

aws bedrock-agentcore invoke-web-search \
  --region ap-northeast-1 \
  --web-search-id web-search.v1 \
  --search-query "パスポート 更新 オンライン 方法" \
  --max-results 5 \
  --output json

Specifying JP for country:

aws bedrock-agentcore invoke-web-search \
  --region ap-northeast-1 \
  --web-search-id web-search.v1 \
  --search-query "パスポート 更新 オンライン 方法" \
  --max-results 5 \
  --user-location country=JP \
  --output json

According to the AWS CLI help, country takes a two-letter country code assigned under ISO 3166-1.

The results array in the response contains the title, url, and text of each result. With either command, you can extract the list of urls and titles by appending | jq -r '.results[] | [.url, .title] | @tsv' at the end.

Test Results

Japanese Queries

I ran two Japanese queries without country and compared them with the results of English queries of the same meaning.

Query Domains of top 5 results
Current minimum wage, hourly rate job-medley.com, ngraph.jp, www.fnn.jp, nalevi.mynavi.jp, watanabejimusyo-sr.com (all titles in Japanese)
Passport renewal online method www.mofa.go.jp ×2, www.gov-online.go.jp, myna.go.jp, img.myna.go.jp (all titles in Japanese)
current minimum wage per hour 5 dol.gov-related results (US)
how to renew a passport online US State Department-related (travel.state.gov, etc.) and www.texas.aaa.com (US)

English Queries and country

I ran four English queries under two conditions, without country and with JP, and compared the top 5 results. The top 5 without country are as follows.

Query Top 5 without country
current minimum wage per hour 5 dol.gov-related results
how to renew a passport online US State Department-related (travel.state.gov, etc.) and www.texas.aaa.com
emergency phone number to call Pages about 911 (911.gov, nena.org, etc.)
income tax filing deadline Sites from the US and India

The differences when JP was specified, compared to without country, are as follows.

Query Difference from without country
current minimum wage per hour 2 results were swapped (1 different dol.gov URL, 1 es.tradingeconomics.com; the latter is a Spanish-language page on the US minimum wage)
how to renew a passport online No difference
emergency phone number to call 1 result was swapped for telehealth.hhs.gov
income tax filing deadline No difference

The newly included pages all covered US content, and no Japanese sites entered the top 5.

Japanese Queries and country

I ran two Japanese queries under three conditions (without country, JP, and US) and compared the responses.

Query Condition Result
Current minimum wage, hourly rate None / JP / US Responses were identical under all three conditions
Passport renewal online method None / JP / US Responses were identical under all three conditions

Evaluating country (AU)

I ran the English query "how to renew a passport online" twice each under two conditions, without country and with AU, and compared the top 5 results. The first and second runs under the same condition were identical, down to the text of the responses.

Query Condition Difference from without country
how to renew a passport online AU 1 result was swapped for au.lifehacker.com (Australian domain; an article about US passports)

Checking the Search Index

There is a previous article that checked whether DevelopersIO articles are included in AgentCore's search results.

https://dev.classmethod.jp/articles/bedrock-agentcore-web-search-tool-japanese-query/

As in the previous article, I extracted from Search Console data the URLs of the top 100 Japanese articles by recent impressions. I used these URLs as-is as queries, retrieved the top 5 results, and investigated their registration status in the index.

Returned URL Previous (99) This time (100)
Target Japanese URL 60 (61%) 87 (87%)
English version URL only 23 (23%) 7 (7%)
Not returned 16 (16%) 6 (6%)

Although conditions such as the searched URLs differ, the hit rate for Japanese articles improved from 61% to 87%. This result suggests that the Japanese index has been enriched.

Pricing

AgentCore's Web Search costs $7 per 1,000 queries.

https://aws.amazon.com/bedrock/agentcore/pricing/

Summary

I tried Web Search on Amazon Bedrock, with its expanded language support, in the Tokyo region.

With the newly available country, I confirmed that a search specifying AU brought sites on Australian domains into the search results. Also, the hit rate for DevelopersIO's Japanese articles had improved compared to the August figures in the previous article.

With official support for Japanese, we can also expect optimizations to the index and search processing. As a web search mechanism that can be built into AgentCore and similar services, I recommend evaluating it first.

Share this article

AWSのお困り事はクラスメソッドへ