You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 32762e3
Browse filesBrowse the repository at this point in the historyBrowse files
[Server] Describe tool inputs and outputs with their direction
Input schemas only list the properties a client can send (Direction::Input), and output schemas require the properties that are always present (Direction::Output). A dialect without schema URI makes stripping $schema unnecessary, and definitions keep the plain class name since each schema is a document of its own.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ All notable changes to `mcp/sdk` will be documented in this file.
9
9
10
10
* Discovery
11
11
*[BC Break] Generate tool input and output schemas with `symfony/json-schema`. Unions are described with `anyOf`, `null` comes last in `type`, `default: null` is no longer emitted, array shapes are closed with `additionalProperties: false`, string-keyed maps get `additionalProperties`, and a class parameter is described by its properties.
12
-
*[BC Break]`SchemaGenerator` takes a `Symfony\Component\JsonSchema\SchemaGeneratorInterface`, a `TypeResolverInterface` and a`Configuration` instead of a `DocBlockParser`.
12
+
*[BC Break]`SchemaGenerator` takes a `Symfony\Component\JsonSchema\SchemaGeneratorInterface`, a `TypeResolverInterface` and the input and output`Configuration` instead of a `DocBlockParser`.
13
13
*[BC Break] Remove `DocBlockParser::getParamTypeString()` and `DocBlockParser::getParamDescription()`.
14
14
* Add the `outputSchemaFromReturnType` argument of `SchemaGenerator`, to describe the output of a tool that returns an object by its class.
0 commit comments