Skip to content

Commit 1365d4e

Browse files
committed
add serialized JSON suggestion in docs
1 parent 405fc64 commit 1365d4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/specification/draft/server/tools.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ or data, behind a URI that can be subscribed to or fetched again by the client l
242242

243243
### Output Schema
244244

245-
Tools that produce structured results can use the `outputSchema` property to provide a JSON Schema describing the expected structure of their output.
245+
Tools that produce structured results can use the `outputSchema` property to provide a JSON Schema describing the expected structure of their output.
246246

247247
When a tool specifies an `outputSchema`:
248248

@@ -252,7 +252,7 @@ When a tool specifies an `outputSchema`:
252252

253253
<Info>
254254
For backwards compatibility, a tool that declares an `outputSchema` may also return unstructured results in the `content` field.
255-
* If present, the unstructured result should be functionally equivalent to the structured result.
255+
* If present, the unstructured result should be functionally equivalent to the structured result. (For example, serialized JSON can be returned in a `TextContent` block.)
256256
* Clients that support `structuredContent` should ignore the `content` field if present.
257257
</Info>
258258

0 commit comments

Comments
 (0)