Skip to content

Commit eb88672

Browse files
committed
Fix dictionary links and normalize dl/dt blocks
1 parent 067a1c9 commit eb88672

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

index.bs

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -523,15 +523,15 @@ callback ToolExecuteCallback = Promise<any> (object input);
523523

524524
The {{ToolAnnotations}} dictionary provides optional metadata about a tool:
525525

526-
<dl class="domintro" dfn-type=dict-member dfn-for=ToolAnnotations>
527-
: <dfn>readOnlyHint</dfn>
526+
<dl class="domintro">
527+
: <code><var ignore>annotations</var>["{{ToolAnnotations/readOnlyHint}}"]</code>
528528
:: If true, indicates that the tool does not modify any state and only reads data. This hint can help [=agents=] make decisions about when it is safe to call the tool.
529529

530-
: <dfn>untrustedContentHint</dfn>
531-
:: If true, indicates that the tool's output contains data that is untrusted, from the perspective
532-
of the author registering the tool.
530+
: <code><var ignore>annotations</var>["{{ToolAnnotations/untrustedContentHint}}"]</code>
531+
:: If true, indicates that the tool's output contains data that is untrusted, from the perspective of the author registering the tool.
533532
</dl>
534533

534+
535535
<h4 id="model-context-register-tool-options">ModelContextRegisterToolOptions Dictionary</h4>
536536

537537
The {{ModelContextRegisterToolOptions}} dictionary carries information pertaining to a tool's
@@ -546,16 +546,11 @@ dictionary ModelContextRegisterToolOptions {
546546
</xmp>
547547

548548
<dl class="domintro">
549-
<dt><code><var ignore>tool</var>["{{ModelContextRegisterToolOptions/signal}}"]</code></dt>
550-
<dd>
551-
<p>An {{AbortSignal}} that unregisters the tool when aborted.
552-
</dd>
549+
: <code><var ignore>options</var>["{{ModelContextRegisterToolOptions/signal}}"]</code>
550+
:: An {{AbortSignal}} that unregisters the tool when aborted.
553551

554-
<dt><code><var ignore>exposedTo</var>["{{ModelContextRegisterToolOptions/exposedTo}}"]</code></dt>
555-
<dd>
556-
<p>An array of origins that control which documents this tool is exposed to, in the current
557-
document's tree.
558-
</dd>
552+
: <code><var ignore>options</var>["{{ModelContextRegisterToolOptions/exposedTo}}"]</code>
553+
:: <p>An array of origins that control which documents this tool is exposed to, in the current document's tree.
559554
</dl>
560555

561556

0 commit comments

Comments
 (0)