Skip to content

Commit 56294b3

Browse files
committed
Link more RegisteredTool members back to ModelContextTool members
1 parent fca9134 commit 56294b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ dictionary RegisteredTool {
725725

726726
: <code><var ignore>tool</var>["{{RegisteredTool/inputSchema}}"]</code>
727727
:: A stringified JSON Schema object describing the expected input parameters for the tool
728-
[[!JSON-SCHEMA]].
728+
[[!JSON-SCHEMA]]. It is the string derived from {{ModelContextTool/inputSchema}} during registration.
729729

730730
: <code><var ignore>tool</var>["{{RegisteredTool/window}}"]</code>
731731
:: The {{Window}} of the document that registered the tool.
@@ -734,7 +734,7 @@ dictionary RegisteredTool {
734734
:: The origin of the document that registered the tool. This member is only meaningful when the tool is cross-origin, and the consumer of a tool cannot otherwise get the tool's origin from its {{RegisteredTool/window}}. For same-origin tools, this is the same as the tool's {{RegisteredTool/window}}'s {{WindowOrWorkerGlobalScope/origin}}, and the caller's own {{Window}}.{{WindowOrWorkerGlobalScope/origin}}.
735735

736736
: <code><var ignore>tool</var>["{{RegisteredTool/annotations}}"]</code>
737-
:: Optional annotations providing metadata about the tool.
737+
:: Optional annotations providing metadata about the tool. It matches {{ModelContextTool/annotations}}.
738738
</dl>
739739

740740

0 commit comments

Comments
 (0)