Files
langgraphjs/docs/docs
Christian Bromann ef04db316d docs: document first-class graph-state access for ToolNode tools (#2511)
Tools running inside a ToolNode can already read the current graph state
via `getCurrentTaskInput()`, but this was not documented as a
first-class option and the browser-safe variant (passing config
explicitly) was not surfaced.

This adds:

- JSDoc on getCurrentTaskInput documenting the optional config arg and
browser usage
- A ToolNode JSDoc example showing how tools access graph state and
runtime context
- Browser-safe guidance in the agents context docs and the
pass-run-time-values-to-tools how-to (`getCurrentTaskInput(config)`)
- A regression test verifying a ToolNode tool can read graph state via
getCurrentTaskInput(config)

Closes #2506
2026-06-10 15:18:04 -07:00
..
2025-06-03 00:35:34 +02:00
2024-07-10 15:52:36 -04:00
2025-08-11 17:43:16 +00:00
2025-02-11 02:07:32 +00:00
2025-04-24 12:01:31 -04:00
x
2025-03-27 12:34:25 -04:00