[PR #2257] [MERGED] fix: broken links to AgentCore Browser and Code Interpreter docs #2271

Closed
opened 2026-02-17 17:23:14 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2257
Author: @sundargthb
Created: 1/16/2026
Status: Merged
Merged: 1/16/2026
Merged by: @mdrxy

Base: mainHead: fix/agentcore-broken-links


📝 Commits (1)

  • db289b0 fix: broken links to AgentCore Browser and Code Interpreter docs

📊 Changes

3 files changed (+14 additions, -8 deletions)

View changed files

📝 src/oss/python/integrations/providers/aws.mdx (+2 -2)
📝 src/oss/python/integrations/tools/bedrock_agentcore_browser.mdx (+8 -2)
📝 src/oss/python/integrations/tools/index.mdx (+4 -4)

📄 Description

Overview

  • Fixes broken links to Amazon Bedrock AgentCore Browser and Code Interpreter documentation pages.
  • Updates the take_screenshot tool documentation to reflect the API change from full_page: bool to capture_type: Literal["viewport", "full_page"] in the Browser toolkit.

Type of change

Type: Update existing documentation, Bug Fix

Problem

Links in index.mdx and aws.mdx were redirecting to 404 pages:

  • https://docs.langchain.com/oss/python/python/integrations/tools/bedrock_agentcore_browser
  • https://docs.langchain.com/oss/python/python/integrations/tools/bedrock_agentcore_code_interpreter

The /oss/python/ prefix was being doubled because the docs site already applies this base path.

Solution

  • In index.mdx: Changed to relative paths (bedrock_agentcore_browser, bedrock_agentcore_code_interpreter)
  • In aws.mdx: Changed to /oss/integrations/tools/... pattern matching other tool links

Files Changed

File Changes
src/oss/python/integrations/tools/index.mdx Fixed 4 links (2 table entries, 2 Cards)
src/oss/python/integrations/providers/aws.mdx Fixed 2 "usage example" links
src/oss/python/integrations/tools/bedrock_agentcore_browser.mdx Updated take_screenshot examples to use new capture_type parameter

Checklist

  • [X ] I have read the contributing guidelines
  • [X ] I have tested my changes locally using docs dev
  • [X ] All code examples have been tested and work correctly
  • [X ] I have used root relative paths for internal links
  • [X ] I have updated navigation in src/docs.json if needed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/2257 **Author:** [@sundargthb](https://github.com/sundargthb) **Created:** 1/16/2026 **Status:** ✅ Merged **Merged:** 1/16/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `fix/agentcore-broken-links` --- ### 📝 Commits (1) - [`db289b0`](https://github.com/langchain-ai/docs/commit/db289b0b222372e44b6837a50a0f29dde086d354) fix: broken links to AgentCore Browser and Code Interpreter docs ### 📊 Changes **3 files changed** (+14 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/python/integrations/providers/aws.mdx` (+2 -2) 📝 `src/oss/python/integrations/tools/bedrock_agentcore_browser.mdx` (+8 -2) 📝 `src/oss/python/integrations/tools/index.mdx` (+4 -4) </details> ### 📄 Description ## Overview - Fixes broken links to Amazon Bedrock AgentCore Browser and Code Interpreter documentation pages. - Updates the `take_screenshot` tool documentation to reflect the API change from `full_page: bool` to `capture_type: Literal["viewport", "full_page"]` in the Browser toolkit. ## Type of change **Type:** Update existing documentation, Bug Fix ## Problem Links in `index.mdx` and `aws.mdx` were redirecting to 404 pages: - ❌ `https://docs.langchain.com/oss/python/python/integrations/tools/bedrock_agentcore_browser` - ❌ `https://docs.langchain.com/oss/python/python/integrations/tools/bedrock_agentcore_code_interpreter` The `/oss/python/` prefix was being doubled because the docs site already applies this base path. ## Solution - In `index.mdx`: Changed to relative paths (`bedrock_agentcore_browser`, `bedrock_agentcore_code_interpreter`) - In `aws.mdx`: Changed to `/oss/integrations/tools/...` pattern matching other tool links ## Files Changed | File | Changes | |------|---------| | `src/oss/python/integrations/tools/index.mdx` | Fixed 4 links (2 table entries, 2 Cards) | | `src/oss/python/integrations/providers/aws.mdx` | Fixed 2 "usage example" links | | `src/oss/python/integrations/tools/bedrock_agentcore_browser.mdx` | Updated `take_screenshot` examples to use new `capture_type` parameter | ## Checklist <!-- Put an 'x' in all boxes that apply --> - [X ] I have read the [contributing guidelines](README.md) - [X ] I have tested my changes locally using `docs dev` - [X ] All code examples have been tested and work correctly - [X ] I have used **root relative** paths for internal links - [X ] I have updated navigation in `src/docs.json` if needed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:23:14 -05:00
yindo closed this issue 2026-02-17 17:23:14 -05:00
yindo changed title from [PR #2257] fix: broken links to AgentCore Browser and Code Interpreter docs to [PR #2257] [MERGED] fix: broken links to AgentCore Browser and Code Interpreter docs 2026-06-05 18:17:36 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2271