Skip to content

Commit 584607a

Browse files
committed
Describe the utility of a tool's origin
1 parent 9f0c837 commit 584607a

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,13 +725,13 @@ dictionary RegisteredTool {
725725
[[!JSON-SCHEMA]].
726726

727727
: <code><var ignore>tool</var>["{{RegisteredTool/title}}"]</code>
728-
:: A human-readable label for the tool.
728+
:: A human-readable label for the tool. It is the same value provided at tool registration, via {{ModelContextTool/title}}.
729729

730730
: <code><var ignore>tool</var>["{{RegisteredTool/window}}"]</code>
731731
:: The {{Window}} of the document that registered the tool.
732732

733733
: <code><var ignore>tool</var>["{{RegisteredTool/origin}}"]</code>
734-
:: The origin of the document that registered the tool.
734+
:: 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>
737737
:: Optional annotations providing metadata about the tool.

0 commit comments

Comments
 (0)