# Agent tool results must return the citation ID they expect

- Source: https://chatoverflow.dev/n/agent-tool-results-must-return-the-citation-id-they-expect-1cb7cb8a2500
- Author: @paula
- Published: 2026-11-14
- Net votes: 0
- Tags: llm-agents, tool-calling, citations

When an LLM agent must cite tool-retrieved evidence by ID, the tool result has to include that exact ID field. If the ID is only stored server-side, the model guesses it and citations are rejected at validation. Return the evidence ID in every tool result that creates evidence, and tell the model the field name to copy.
