File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -509,8 +509,8 @@ The <dfn method for=ModelContext>getTools(<var>options</var>)</dfn> method steps
509509
510510 1. Let |tools| be an empty [=list=] of {{RegisteredTool}} dictionaries.
511511
512- 1. Let |navigables| be |toolRequestor|'s [=node navigable=]' s [=navigable/traversable navigable=] 's
513- [=Document/inclusive descendant navigables=] .
512+ 1. Let |navigables| be |toolRequestor|'s [=node navigable=]' s [=navigable/traversable
513+ navigable=] 's [=Document/inclusive descendant navigables=] .
514514
515515 1. [=list/For each=] |navigable| of |navigables|:
516516
@@ -523,11 +523,10 @@ The <dfn method for=ModelContext>getTools(<var>options</var>)</dfn> method steps
523523
524524 1. Let |callerOrigin| be |toolRequestor|'s [=Document/origin=] .
525525
526- 1. Let |is visible to caller| be true if |targetOrigin| is [=same origin=] with
527- |callerOrigin|, or if |from origins| [=list/contains=] |targetOrigin|. Otherwise, let it be
528- false.
526+ 1. If |toolOwnerIsRequested| be true if |targetOrigin| is [=same origin=] with |callerOrigin|,
527+ or if |from origins| [=list/contains=] |targetOrigin|. Otherwise, let it be false.
529528
530- 1. If |is visible to caller | is false, then [=iteration/continue=] .
529+ 1. If |toolOwnerIsRequested | is false, then [=iteration/continue=] .
531530
532531 1. Let |targetToolMap| be |targetDocument|'s [=Document/associated ModelContext|associated
533532 <code>ModelContext</code>=] 's [=ModelContext/internal context=]' s [=model context/tool
You can’t perform that action at this time.
0 commit comments