25 pages for structuredcontent.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Give Claude custom tools
Claude Code CLI · in the page
agent-sdk/custom-tools
…ages-and-resources). | | Return a machine-readable JSON result | Set `structuredContent` on the result. See [Return structured data](#return-structured-data). | | Scale to many tools | Use [tool searc…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…s` requires Agent SDK v0.3.257 or later. * An MCP tool that returns [`structuredContent`](#calltoolresult): `tool_use_result` is an object whose `structuredContent` member holds what the server sent a…
Let Claude call tools in your MCP App
Claude Documentation · in the page
connectors/building/mcp-apps/app-tools
…because Claude reads the `text` blocks in a result's `content`. * **`structuredContent`**: Claude reads it, as JSON, only when it receives no text at all from `content` * **Other block types**: if yo…
Supersede older widget instances
Claude Documentation · in the page
connectors/building/mcp-apps/instance-supersession
…ult with an election key**: it returns a `{createdAt, seq}` pair in [`structuredContent`](https://modelcontextprotocol.io/specification/latest/server/tools#structured-content), the typed JSON payload…
Add an interactive UI to your MCP server
Claude Documentation · in the page
connectors/building/mcp-apps/quickstart
…1.0.0" }); let lastArgs = { sides: 6, count: 1 }; const show = ({ structuredContent: sc, content }) => { $("summary").textContent = sc ? sc.count + "d" + sc.sides + " → total " + sc.total : (c…
Roadmap
Model Context Protocol · in the page
development/roadmap
…rved well. However, `tools/call` allows returning both `content` and `structuredContent` at the same time, which has confused server and client authors alike and produced diverging implementations. We…
Build an MCP client
Model Context Protocol · in the page
docs/2026-07-28/develop/build-client
…re an `outputSchema`, and the specification asks clients to validate `structuredContent` against it. rmcp does not do this, so the client keeps a compiled `jsonschema::Validator` per tool and checks e…
Build an MCP server
Model Context Protocol · in the page
docs/2026-07-28/develop/build-server
…red content. Declaring `Vec<Alert>` as > /// the output schema makes `structuredContent` a top-level JSON array rather > /// than an object wrapping one, which revision 2026-07-28 is the first to allo…
Architecture overview
Model Context Protocol · in the page
docs/2026-07-28/learn/architecture
…/2026-07-28/server/tools.md#structured-content), a JSON value in the `structuredContent` field of the result. The tool in this example returns only text. This execution pattern allows AI applications…
Understanding MCP servers
Model Context Protocol · in the page
docs/2026-07-28/learn/server-concepts
…ntCapabilities": { "elicitation": {} } } } } ``` The result's `structuredContent` conforms to the tool's `outputSchema`. For backwards compatibility, the result also includes the serialized JSO…
Protocol eras
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/protocol-eras
…itation round, then completes with an empty result (no `content`, no `structuredContent`). | | `mrtr_loop` | Never completes, so the client stops at its `MRTR_MAX_ROUNDS` limit. | > [!NOTE] > > The l…
Build an MCP client
Model Context Protocol · in the page
docs/draft/develop/build-client
…re an `outputSchema`, and the specification asks clients to validate `structuredContent` against it. rmcp does not do this, so the client keeps a compiled `jsonschema::Validator` per tool and checks e…
Build an MCP server
Model Context Protocol · in the page
docs/draft/develop/build-server
…red content. Declaring `Vec<Alert>` as > /// the output schema makes `structuredContent` a top-level JSON array rather > /// than an object wrapping one, which revision 2026-07-28 is the first to allo…
Architecture overview
Model Context Protocol · in the page
docs/draft/learn/architecture
…ation/draft/server/tools.md#structured-content), a JSON value in the `structuredContent` field of the result. The tool in this example returns only text. This execution pattern allows AI applications…
Understanding MCP servers
Model Context Protocol · in the page
docs/draft/learn/server-concepts
…ntCapabilities": { "elicitation": {} } } } } ``` The result's `structuredContent` conforms to the tool's `outputSchema`. For backwards compatibility, the result also includes the serialized JSO…
Protocol eras
Model Context Protocol · in the page
docs/draft/tools/inspector/protocol-eras
…itation round, then completes with an empty result (no `content`, no `structuredContent`). | | `mrtr_loop` | Never completes, so the client stops at its `MRTR_MAX_ROUNDS` limit. | > [!NOTE] > > The l…
SEP-1577: Sampling With Tools
Model Context Protocol · in the page
seps/1577--sampling-with-tools
…tool_result"; toolUseId: string; content: ContentBlock[]; structuredContent: object; isError?: boolean; } ``` * Notes: * Differences of role vs. content type when it comes to to…
SEP-2106: Tools `inputSchema` & `outputSchema` Conform to JSON Schema 2020-12
Model Context Protocol · in the page
seps/2106-json-schema-2020-12
…ses loosening the restrictions on `inputSchema`, `outputSchema`, and `structuredContent` to better support JSON Schema 2020-12. Specifically: * **`inputSchema`**: Keeps `type: "object"` required (sin…
SEP-2567: Sessionless MCP via Explicit State Handles
Model Context Protocol · in the page
seps/2567-sessionless-mcp
…ntent": [{ "type": "text", "text": "Created basket bsk_a1b2c3" }], "structuredContent": { "basket_id": "bsk_a1b2c3" } } ``` The model then threads that handle through subsequent calls as an ordinar…
Schema Reference
Model Context Protocol · in the page
specification/2025-06-18/schema
…l">;</span><br /> <a class="tsd-kind-property" href="#calltoolresult-structuredcontent">structuredContent</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">\{</span>…
Tools
Model Context Protocol · in the page
specification/2025-06-18/server/tools
…Content **Structured** content is returned as a JSON object in the `structuredContent` field of a result. For backwards compatibility, a tool that returns structured content SHOULD also return the…
Tools
Model Context Protocol · in the page
specification/2025-11-25/server/tools
…Content **Structured** content is returned as a JSON object in the `structuredContent` field of a result. For backwards compatibility, a tool that returns structured content SHOULD also return the…
Key Changes
Model Context Protocol · in the page
specification/2026-07-28/changelog
…nd `outputSchema` to allow any JSON Schema 2020-12 keywords, and `structuredContent` to allow any JSON value. Add `$ref` resolution requirements and composition-keyword resource bounds ([S…
Tools
Model Context Protocol · in the page
specification/2026-07-28/server/tools
…d Content **Structured** content is returned as a JSON value in the `structuredContent` field of a result. This can be any JSON value (object, array, string, number, boolean, or null) that conforms t…
Tools
Model Context Protocol · in the page
specification/draft/server/tools
…d Content **Structured** content is returned as a JSON value in the `structuredContent` field of a result. This can be any JSON value (object, array, string, number, boolean, or null) that conforms t…