structured content
The optional JSON object in an MCP tool result that holds machine-readable output, alongside the text content.
In more detail
When a tool declares an output schema, its structured content must match it. Servers should also include a text version in content for clients and models that read only text.
Related terms
- MCP tool — A function an MCP server offers for the model to call, described by a name, description and input schema.
- JSON Schema — A standard vocabulary for describing the allowed shape of JSON data: which fields exist, their types, which are required and what values are allowed.
Taught in
- Build An MCP Server — AI Engineering: LLM Apps, RAG & Agents
- Capstone: The Tasks Assistant — AI Engineering: LLM Apps, RAG & Agents