Skip to content

Commit abd5408

Browse files
committed
specfmt
1 parent f7b6915 commit abd5408

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
@@ -715,26 +715,35 @@ dictionary RegisteredTool {
715715

716716
<dl class="domintro">
717717
: <code><var ignore>tool</var>["{{RegisteredTool/name}}"]</code>
718-
:: A unique identifier for the tool. It is the same value provided at tool registration, via {{ModelContextTool/name}}.
718+
:: A unique identifier for the tool. It is the same value provided at tool registration, via
719+
{{ModelContextTool/name}}.
719720

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

723725
: <code><var ignore>tool</var>["{{RegisteredTool/description}}"]</code>
724-
:: A natural language description of the tool's functionality. It is the same value provided at tool registration, via {{ModelContextTool/description}}.
726+
:: A natural language description of the tool's functionality. It is the same value provided at
727+
tool registration, via {{ModelContextTool/description}}.
725728

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

730734
: <code><var ignore>tool</var>["{{RegisteredTool/window}}"]</code>
731735
:: The {{Window}} of the document that registered the tool.
732736

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

736744
: <code><var ignore>tool</var>["{{RegisteredTool/annotations}}"]</code>
737-
:: Optional annotations providing metadata about the tool. It matches {{ModelContextTool/annotations}}.
745+
:: Optional annotations providing metadata about the tool. It matches
746+
{{ModelContextTool/annotations}}.
738747
</dl>
739748

740749

0 commit comments

Comments
 (0)