File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 3838 * @template T
3939 * @template U of array<string, mixed>
4040 *
41- * @param null|non-empty-string $description A human-readable description of the tool.
42- * @param null|list<Icon> $icons Optional set of sized icons that the client can display in a user interface.
43- * @param null|ToolAnnotations $annotations Optional additional tool information. Display name precedence order is:
44- * `title`, `annotations.title`, then `name`.
45- * @param null|array<string, mixed> $meta Reserved by MCP to allow clients and servers to attach
46- * additional metadata to their interactions.
4741 * @param ToolSchema<covariant T, covariant U> $inputSchema A JSON Schema object defining the expected parameters for the tool.
42+ * @param null|non-empty-string $description A human-readable description of the tool.
4843 * @param null|ToolSchema<covariant T, covariant U> $outputSchema An optional JSON Schema object defining the structure of the tool's
49- * output returned in the structuredContent field of a `CallToolResult`.
44+ * output returned in the structuredContent field of a `CallToolResult`.
45+ * @param null|list<Icon> $icons Optional set of sized icons that the client can display in a user interface.
46+ * @param null|ToolAnnotations $annotations Optional additional tool information. Display name precedence order is:
47+ * `title`, `annotations.title`, then `name`.
48+ * @param null|array<string, mixed> $meta Reserved by MCP to allow clients and servers to attach
49+ * additional metadata to their interactions.
5050 */
5151 public function __construct (
5252 string $ name ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ final class ObjectType extends ToolSchema
4343 * @template T
4444 * @template U of array<string, mixed>
4545 *
46- * @param non-empty-string $name
46+ * @param non-empty-string $name
4747 * @param ToolSchema<covariant T, covariant U> ...$properties
4848 */
4949 protected function __construct (string $ name , ToolSchema ...$ properties )
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ public static function asNumber(string $name): NumberType
107107 * @template Tu
108108 * @template Tv of array<string, mixed>
109109 *
110- * @param non-empty-string $name
110+ * @param non-empty-string $name
111111 * @param self<covariant Tu, covariant Tv> ...$properties
112112 */
113113 public static function asObject (string $ name , self ...$ properties ): ObjectType
You can’t perform that action at this time.
0 commit comments