Skip to content

docs: ToolRuntime type does not exist in langchain v1.0.1 #9267

@nephix

Description

@nephix

Checklist

  • I added a very descriptive title to this issue.
  • I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:

https://docs.langchain.com/oss/javascript/langchain/tools#toolruntime here it says:

Use ToolRuntime to access all runtime information in a single parameter. Simply add runtime: ToolRuntime to your tool signature, and it will be automatically injected without being exposed to the LLM.

I tried to find this type but it seems like it may only exist in langchain python?

Idea or request for content:

Can a similar type be provided in langchain TypeScript so we can easily access state, context etc in tools?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions