[PR #3570] [CLOSED] docs: add dynamic tools explanation and common pitfalls [closes DOC-991] #3612

Closed
opened 2026-06-05 18:23:40 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3570
Author: @open-swe[bot]
Created: 4/14/2026
Status: Closed

Base: mainHead: open-swe/8d7b0026-5bc3-e1cf-bdfe-7b24d78c54d2


📝 Commits (1)

  • 5d8f20e docs: add dynamic tools explanation and common pitfalls section to agents page

📊 Changes

1 file changed (+93 additions, -0 deletions)

View changed files

📝 src/oss/langchain/agents.mdx (+93 -0)

📄 Description

Description

Adds a "How dynamic tools work" section to the agents page that addresses common questions raised in internal Slack threads. The new content explains the distinction between tool registration and tool exposure, why wrap_tool_call is required for runtime-registered tools (with the exact error message users encounter), and how to create an agent with no static tools using fully dynamic middleware.

Resolves DOC-991

Test Plan

  • Verify the new section renders correctly in preview deployment
  • Confirm internal cross-links resolve (e.g., #runtime-tool-registration, /oss/langgraph/overview)

Opened collaboratively by Naomi Pentrel and open-swe.


🔄 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/3570 **Author:** [@open-swe[bot]](https://github.com/apps/open-swe) **Created:** 4/14/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `open-swe/8d7b0026-5bc3-e1cf-bdfe-7b24d78c54d2` --- ### 📝 Commits (1) - [`5d8f20e`](https://github.com/langchain-ai/docs/commit/5d8f20e3ed2e96eabe69ea64152059d03ed81c18) docs: add dynamic tools explanation and common pitfalls section to agents page ### 📊 Changes **1 file changed** (+93 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langchain/agents.mdx` (+93 -0) </details> ### 📄 Description ## Description Adds a "How dynamic tools work" section to the agents page that addresses common questions raised in internal Slack threads. The new content explains the distinction between tool registration and tool exposure, why `wrap_tool_call` is required for runtime-registered tools (with the exact error message users encounter), and how to create an agent with no static tools using fully dynamic middleware. Resolves DOC-991 ## Test Plan - [ ] Verify the new section renders correctly in preview deployment - [ ] Confirm internal cross-links resolve (e.g., `#runtime-tool-registration`, `/oss/langgraph/overview`) _Opened collaboratively by Naomi Pentrel and open-swe._ --- <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-06-05 18:23:40 -04:00
yindo closed this issue 2026-06-05 18:23:40 -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#3612