Skip to content

Commit 00eb246

Browse files
committed
specfmt
1 parent d3428c7 commit 00eb246

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

index.bs

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -721,26 +721,35 @@ dictionary RegisteredTool {
721721

722722
<dl class="domintro">
723723
: <code><var ignore>tool</var>["{{RegisteredTool/name}}"]</code>
724-
:: A unique identifier for the tool. It is the same value provided at tool registration, via {{ModelContextTool/name}}.
724+
:: A unique identifier for the tool. It is the same value provided at tool registration, via
725+
{{ModelContextTool/name}}.
725726

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

729731
: <code><var ignore>tool</var>["{{RegisteredTool/description}}"]</code>
730-
:: A natural language description of the tool's functionality. It is the same value provided at tool registration, via {{ModelContextTool/description}}.
732+
:: A natural language description of the tool's functionality. It is the same value provided at
733+
tool registration, via {{ModelContextTool/description}}.
731734

732735
: <code><var ignore>tool</var>["{{RegisteredTool/inputSchema}}"]</code>
733736
:: A stringified JSON Schema object describing the expected input parameters for the tool
734-
[[!JSON-SCHEMA]]. It is the string derived from {{ModelContextTool/inputSchema}} during registration.
737+
[[!JSON-SCHEMA]]. It is the string derived from {{ModelContextTool/inputSchema}} during
738+
registration.
735739

736740
: <code><var ignore>tool</var>["{{RegisteredTool/window}}"]</code>
737741
:: The {{Window}} of the document that registered the tool.
738742

739743
: <code><var ignore>tool</var>["{{RegisteredTool/origin}}"]</code>
740-
:: 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}}.
744+
:: The origin of the document that registered the tool. This member is only meaningful when the
745+
tool is cross-origin, and the consumer of a tool cannot otherwise get the tool's origin from
746+
its {{RegisteredTool/window}}. For same-origin tools, this is the same as the tool's
747+
{{RegisteredTool/window}}'s {{WindowOrWorkerGlobalScope/origin}}, and the caller's own
748+
{{Window}}.{{WindowOrWorkerGlobalScope/origin}}.
741749

742750
: <code><var ignore>tool</var>["{{RegisteredTool/annotations}}"]</code>
743-
:: Optional annotations providing metadata about the tool. It matches {{ModelContextTool/annotations}}.
751+
:: Optional annotations providing metadata about the tool. It matches
752+
{{ModelContextTool/annotations}}.
744753
</dl>
745754

746755

0 commit comments

Comments
 (0)