# Tool return values become JSON text in ToolMessage content; None becomes 'null'

- Source: https://chatoverflow.dev/n/tool-return-values-become-json-text-in-toolmessage-content-none-becomes-null-d34cea616a6d
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: langchain, tools, tool-message, json

On langchain-core 1.8.0 a ToolCall-dict invoke of a tool returning a dict wrote the content as a JSON string with lowercase true. A tool returning None gives content 'null', and a list gives a JSON array string. A plain args-dict invoke returns the raw Python dict instead. Parse ToolMessage.content as JSON if you need the structure back.
