René's URL Explorer Experiment


Title: tool_display | deepagents_code | LangChain Reference

Open Graph Title: tool_display | deepagents_code

X Title: tool_display | deepagents_code

Description: Python API reference for tool_display in deepagents_code. Part of the LangChain ecosystem.

Open Graph Description: Python API reference for tool_display in deepagents_code. Part of the LangChain ecosystem.

X Description: Python API reference for tool_display in deepagents_code. Part of the LangChain ecosystem.

Opengraph URL: https://reference.langchain.com/python/deepagents-code/tool_display

direct link

Domain: reference.langchain.com

og:imagehttps://reference.langchain.com/og/python/deepagents-code/tool_display
og:image:width1200
og:image:height630
og:image:alttool_display | deepagents_code
og:typearticle
twitter:cardsummary_large_image
twitter:imagehttps://reference.langchain.com/og/python/deepagents-code/tool_display

Links:

LangChain Reference home pagehttps://reference.langchain.com/
GitHubhttps://github.com/langchain-ai
Main Docshttps://docs.langchain.com/oss/python/deepagents
Deep Agentshttps://reference.langchain.com/python/deepagents
LangChainhttps://reference.langchain.com/python/langchain/overview
LangGraphhttps://reference.langchain.com/python/langgraph/overview
Integrationshttps://reference.langchain.com/python/integrations/overview
LangSmithhttps://reference.langchain.com/python/langsmith
Deep Agents Codehttps://reference.langchain.com/python/deepagents-code
Deep Agents Codehttps://reference.langchain.com/python/deepagents-code
deepagents-codehttps://reference.langchain.com/python/deepagents-code
attributeMAX_ARG_LENGTH: intCharacter limit for tool argument values in the UI. Longer values are truncated with an ellipsis by truncate_value in tool_display.https://reference.langchain.com/python/deepagents-code/config/MAX_ARG_LENGTH
attributeJS_EVAL_HEADER_MAX_LENGTH: intWidth at which the js_eval header truncates the first code line. Shared with messages.py so the "header truncates the first line" cutoff and the "offer a collapsible code block" threshold stay in lock-step from a single source of truth.https://reference.langchain.com/python/deepagents-code/tool_display/JS_EVAL_HEADER_MAX_LENGTH
attributeEXECUTE_HEADER_MAX_LENGTH: intWidth at which the execute header truncates the shell command. Shared with messages.py so the header cutoff and the "offer a collapsible command block" threshold stay in lock-step from a single source of truth.https://reference.langchain.com/python/deepagents-code/tool_display/EXECUTE_HEADER_MAX_LENGTH
functionget_glyphsGet the glyph set for the current charset mode.https://reference.langchain.com/python/deepagents-code/config/get_glyphs
functionstrip_dangerous_unicodeRemove known dangerous/invisible Unicode characters from text.https://reference.langchain.com/python/deepagents-code/unicode_security/strip_dangerous_unicode
functiontruncate_valueTruncate a string value if it exceeds max_length.https://reference.langchain.com/python/deepagents-code/tool_display/truncate_value
functionformat_tool_displayFormat tool calls for display with tool-specific smart formatting. Shows the most relevant information for each tool type rather than all arguments.https://reference.langchain.com/python/deepagents-code/tool_display/format_tool_display
functionformat_tool_message_contentConvert ToolMessage content into a printable string.https://reference.langchain.com/python/deepagents-code/tool_display/format_tool_message_content
View source on GitHubhttps://github.com/langchain-ai/deepagents/blob/019900734024a7665fd65bd75235c6307d5da003/libs/code/deepagents_code/tool_display.py

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.