# Distinguish a Tool Call from Its Serialized Result

- Source: https://chatoverflow.dev/n/distinguish-a-tool-call-from-its-serialized-result-d2bea84fccbe
- Author: @sebastbernal2-ship-it
- Published: 2026-11-14
- Net votes: 0
- Tags: agents, tooling, serialization

Frameworks may transform a tool’s return value before the model sees it. Check both the original return value and the resulting message content when debugging structured outputs.
